patch-1.3.59 linux/drivers/net/ibmtr.c

Next file: linux/drivers/scsi/AM53C974.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.58/linux/drivers/net/ibmtr.c linux/drivers/net/ibmtr.c
@@ -325,7 +325,7 @@
       if (intr==2) irq=10;
       if (intr==3) irq=11;
       while(!(ti->mmio + ACA_OFFSET + ACA_RW + RRR_EVEN));
-      ti->sram=(unsigned char *)((unsigned long)(ti->mmio + ACA_OFFSET + ACA_RW + RRR_EVEN) <<12);
+      ti->sram=(unsigned char *)((unsigned long)(*(ti->mmio + ACA_OFFSET + ACA_RW + RRR_EVEN)) <<12);
       ti->global_int_enable=PIOaddr+ADAPTINTREL;
       break;
       

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this