patch-2.3.13 linux/drivers/net/acenic.c
Next file: linux/drivers/net/ariadne2.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Thu Aug  5 15:04:52 1999
-  Orig file: 
v2.3.12/linux/drivers/net/acenic.c
-  Orig date: 
Thu Jul  8 15:42:20 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/net/acenic.c linux/drivers/net/acenic.c
@@ -288,13 +288,13 @@
 			break;
 		}
 		printk("Gigabit Ethernet at 0x%08lx, irq %i, PCI latency %i "
-		       "clks\n", pdev->base_address[0], dev->irq, pci_latency);
+		       "clks\n", pdev->resource[0].start, dev->irq, pci_latency);
 
 		/*
 		 * Remap the regs into kernel space.
 		 */
 
-		ap->regs = (struct ace_regs *)ioremap(pdev->base_address[0],
+		ap->regs = (struct ace_regs *)ioremap(pdev->resource[0].start,
 						      0x4000);
 		if (!ap->regs){
 			printk(KERN_ERR "%s:  Unable to map I/O register, "
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)