summaryrefslogtreecommitdiffstats
path: root/drivers/net/de4x5.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
commit6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch)
tree0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /drivers/net/de4x5.c
parentecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff)
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
Diffstat (limited to 'drivers/net/de4x5.c')
-rw-r--r--drivers/net/de4x5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/de4x5.c b/drivers/net/de4x5.c
index ceddc07c3..e136e0132 100644
--- a/drivers/net/de4x5.c
+++ b/drivers/net/de4x5.c
@@ -2229,7 +2229,7 @@ pci_probe(struct net_device *dev, u_long ioaddr)
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 @@ srom_search(struct pci_dev *dev)
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;