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

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

diff -u --recursive --new-file v2.3.12/linux/drivers/net/tlan.c linux/drivers/net/tlan.c
@@ -554,7 +554,7 @@
 			);
 
 			*pci_irq = pdev->irq;
-			*pci_io_base = pdev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK;
+			*pci_io_base = pdev->resource[0].start;
 			*pci_dfn = pdev->devfn;
 			pci_read_config_byte ( pdev, PCI_REVISION_ID, pci_rev);
 			pci_read_config_word ( pdev,  PCI_COMMAND, &pci_command);

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