patch-2.1.68 linux/drivers/net/3c59x.c
Next file: linux/drivers/net/Config.in
Previous file: linux/drivers/misc/parport_share.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Nov 30 12:21:45 1997
- Orig file:
v2.1.67/linux/drivers/net/3c59x.c
- Orig date:
Tue May 13 22:41:08 1997
diff -u --recursive --new-file v2.1.67/linux/drivers/net/3c59x.c linux/drivers/net/3c59x.c
@@ -38,6 +38,8 @@
#include <linux/interrupt.h>
#include <linux/init.h>
+#include <linux/delay.h>
+
#ifdef CONFIG_PCI
#include <linux/pci.h>
#include <linux/bios32.h>
@@ -498,7 +500,7 @@
outw(EEPROM_Read + PhysAddr01 + i, ioaddr + Wn0EepromCmd);
/* Pause for at least 162 us. for the read to take place. */
for (timer = 162*4 + 400; timer >= 0; timer--) {
- SLOW_DOWN_IO;
+ udelay(1);
if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0)
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov