patch-2.2.13 linux/drivers/net/e2100.c
Next file: linux/drivers/net/eepro.c
Previous file: linux/drivers/net/dmfe.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Tue Oct 19 17:14:01 1999
 -  Orig file: 
v2.2.12/linux/drivers/net/e2100.c
 -  Orig date: 
Wed Dec 16 13:35:49 1998
 
diff -u --recursive --new-file v2.2.12/linux/drivers/net/e2100.c linux/drivers/net/e2100.c
@@ -75,7 +75,7 @@
 {
 	/* This is a little weird: set the shared memory window by doing a
 	   read.  The low address bits specify the starting page. */
-	mem_base[start_page];
+	readb(mem_base+start_page);
 	inb(port + E21_MEM_ENABLE);
 	outb(E21_MEM_ON, port + E21_MEM_ENABLE + E21_MEM_ON);
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)