patch-2.1.95 linux/drivers/net/ne.c

Next file: linux/drivers/pci/oldproc.c
Previous file: linux/drivers/misc/parport_pc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.94/linux/drivers/net/ne.c linux/drivers/net/ne.c
@@ -215,7 +215,7 @@
 			if (check_region(pci_ioaddr, NE_IO_EXTENT))
 				continue;
 			pci_irq_line = pdev->irq;
-			if (pci_irq_line == 0) continue;	/* Try next PCI ID */
+			if (pci_irq_line) break;	/* Found it */
 		}
 		if (!pdev)
 			continue;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov