patch-pre2.0.14-final2.0 linux/drivers/net/eexpress.c

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

diff -u --recursive --new-file pre2.0.14/linux/drivers/net/eexpress.c linux/drivers/net/eexpress.c
@@ -1068,8 +1068,9 @@
 	outb_p(i586_RST,ioaddr+EEPROM_Ctrl);
 	udelay(2000);  /* delay 20ms */
         {
-		unsigned short ofs, i;
+		unsigned long ofs;
 		for (ofs = 0; ofs < lp->rx_buf_end; ofs += 32) {
+			unsigned long i;
 			outw_p(ofs, ioaddr+SM_PTR);
 			for (i = 0; i < 16; i++) {
 				outw_p(0, ioaddr+SM_ADDR(i<<1));

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