patch-2.3.13 linux/drivers/net/via-rhine.c
Next file: linux/drivers/net/wd.c
Previous file: linux/drivers/net/tulip.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Aug 5 15:07:42 1999
- Orig file:
v2.3.12/linux/drivers/net/via-rhine.c
- Orig date:
Thu Jul 8 15:42:20 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/net/via-rhine.c linux/drivers/net/via-rhine.c
@@ -431,9 +431,9 @@
#if defined(PCI_SUPPORT_VER2)
struct pci_dev *pdev = pci_find_slot(pci_bus, pci_device_fn);
#ifdef VIA_USE_IO
- pciaddr = pdev->base_address[0];
+ pciaddr = pdev->resource[0].start;
#else
- pciaddr = pdev->base_address[1];
+ pciaddr = pdev->resource[1].start;
#endif
irq = pdev->irq;
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)