patch-2.4.0-test2 linux/drivers/net/de4x5.c
Next file: linux/drivers/net/de600.c
Previous file: linux/drivers/net/daynaport.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Jun 19 13:30:57 2000
- Orig file:
v2.4.0-test1/linux/drivers/net/de4x5.c
- Orig date:
Thu May 11 15:30:07 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/net/de4x5.c linux/drivers/net/de4x5.c
@@ -2229,7 +2229,7 @@
lp->chipset = device;
/* Get the board I/O address (64 bits on sparc64) */
- iobase = pdev->resource[0].start;
+ iobase = pci_resource_start(pdev, 0);
/* Fetch the IRQ to be used */
irq = pdev->irq;
@@ -2318,7 +2318,7 @@
lp->chipset = device;
/* Get the board I/O address (64 bits on sparc64) */
- iobase = this_dev->resource[0].start;
+ iobase = pci_resource_start(this_dev, 0);
/* Fetch the IRQ to be used */
irq = this_dev->irq;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)