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
- Lines: 18
- Date:
Thu Aug 5 15:04:52 1999
- Orig file:
v2.3.12/linux/drivers/net/de4x5.c
- Orig date:
Thu Jul 8 15:42:20 1999
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)