patch-2.3.13 linux/drivers/net/ne2k-pci.c
Next file: linux/drivers/net/net_init.c
Previous file: linux/drivers/net/ne.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Aug  5 15:04:52 1999
-  Orig file: 
v2.3.12/linux/drivers/net/ne2k-pci.c
-  Orig date: 
Thu Jul  8 15:42:20 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/net/ne2k-pci.c linux/drivers/net/ne2k-pci.c
@@ -208,7 +208,7 @@
 		if (pci_clone_list[i].vendor == 0)
 			continue;
 
-		pci_ioaddr = pdev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK;
+		pci_ioaddr = pdev->resource[0].start;
 		pci_irq_line = pdev->irq;
 		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)