patch-2.0.30 linux/drivers/net/ne.c
Next file: linux/drivers/net/new_tunnel.c
Previous file: linux/drivers/net/lance32.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Mar 1 18:09:39 1997
- Orig file:
v2.0.29/linux/drivers/net/ne.c
- Orig date:
Mon Oct 7 10:27:46 1996
diff -u --recursive --new-file v2.0.29/linux/drivers/net/ne.c linux/drivers/net/ne.c
@@ -174,8 +174,10 @@
/* Strip the I/O address out of the returned value */
pci_ioaddr &= PCI_BASE_ADDRESS_IO_MASK;
/* Avoid already found cards from previous ne_probe() calls */
- if (check_region(pci_ioaddr, NE_IO_EXTENT))
+ if (check_region(pci_ioaddr, NE_IO_EXTENT)) {
+ pci_irq_line=0;
continue;
+ }
printk("ne.c: PCI BIOS reports ne2000 clone at i/o %#x, irq %d.\n",
pci_ioaddr, pci_irq_line);
if (ne_probe1(dev, pci_ioaddr) != 0) { /* Shouldn't happen. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov