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

Next file: linux/drivers/net/sdla.c
Previous file: linux/drivers/net/rrunner.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/net/rtl8139.c linux/drivers/net/rtl8139.c
@@ -353,7 +353,7 @@
 		{
 #if defined(PCI_SUPPORT_VER2)
 			struct pci_dev *pdev = pci_find_slot(pci_bus, pci_device_fn);
-			ioaddr = pdev->base_address[0] & ~3;
+			ioaddr = pdev->resource[0].start;
 			irq = pdev->irq;
 #else
 			u32 pci_ioaddr;

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