patch-2.1.59 linux/drivers/net/ne.c
Next file: linux/drivers/scsi/Config.in
Previous file: linux/drivers/net/auto_irq.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Oct 17 14:04:26 1997
- Orig file:
v2.1.58/linux/drivers/net/ne.c
- Orig date:
Mon Aug 11 14:47:04 1997
diff -u --recursive --new-file v2.1.58/linux/drivers/net/ne.c linux/drivers/net/ne.c
@@ -42,6 +42,7 @@
#include <linux/pci.h>
#include <linux/bios32.h>
#include <linux/init.h>
+#include <linux/delay.h>
#include <asm/system.h>
#include <asm/io.h>
@@ -408,6 +409,7 @@
outb_p(0x00, ioaddr + EN0_RCNTLO);
outb_p(0x00, ioaddr + EN0_RCNTHI);
outb_p(E8390_RREAD+E8390_START, ioaddr); /* Trigger it... */
+ udelay(10000); /* wait 10ms for interrupt to propagate */
outb_p(0x00, ioaddr + EN0_IMR); /* Mask it again. */
dev->irq = autoirq_report(0);
if (ei_debug > 2)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov