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

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

diff -u --recursive --new-file v2.3.12/linux/drivers/net/de4x5.c linux/drivers/net/de4x5.c
@@ -2192,7 +2192,7 @@
 	lp->chipset = device;
 
 	/* Get the board I/O address (64 bits on sparc64) */
-	iobase = pdev->base_address[0] & CBIO_MASK;
+	iobase = pdev->resource[0].start;
 
 	/* Fetch the IRQ to be used */
 	irq = pdev->irq;
@@ -2278,7 +2278,7 @@
 	lp->chipset = device;
 
 	/* Get the board I/O address (64 bits on sparc64) */
-	iobase = dev->base_address[0] & CBIO_MASK;
+	iobase = dev->resource[0].start;
 
 	/* Fetch the IRQ to be used */
 	irq = dev->irq;

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