patch-2.3.13 linux/drivers/net/epic100.c

Next file: linux/drivers/net/hamradio/Config.in
Previous file: linux/drivers/net/eepro100.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/net/epic100.c linux/drivers/net/epic100.c
@@ -285,7 +285,7 @@
 	struct pci_dev *pcidev = NULL;
 	while ((pcidev = pci_find_class(PCI_CLASS_NETWORK_ETHERNET << 8, pcidev))
 			!= NULL) {
-		long pci_ioaddr = pcidev->base_address[0] & ~3;
+		long pci_ioaddr = pcidev->resource[0].start;
 		int vendor = pcidev->vendor;
 		int device = pcidev->device;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)