patch-2.1.110 linux/drivers/net/eepro100.c
Next file: linux/drivers/net/hamradio/baycom_epp.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Jul 20 13:49:45 1998
- Orig file:
v2.1.109/linux/drivers/net/eepro100.c
- Orig date:
Thu Jul 16 18:09:25 1998
diff -u --recursive --new-file v2.1.109/linux/drivers/net/eepro100.c linux/drivers/net/eepro100.c
@@ -491,6 +491,7 @@
if (pci_present()) {
static int pci_index = 0;
+
for (; pci_index < 8; pci_index++) {
unsigned char pci_bus, pci_device_fn, pci_latency;
#if (LINUX_VERSION_CODE >= VERSION(2,1,85))
@@ -507,9 +508,9 @@
unsigned short pci_command;
if (pcibios_find_device(PCI_VENDOR_ID_INTEL,
- PCI_DEVICE_ID_INTEL_82557,
- pci_index, &pci_bus,
- &pci_device_fn))
+ PCI_DEVICE_ID_INTEL_82557,
+ pci_index, &pci_bus,
+ &pci_device_fn))
break;
#if (LINUX_VERSION_CODE >= VERSION(2,1,85))
pdev = pci_find_slot(pci_bus, pci_device_fn);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov