summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/via-rhine.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-16 19:30:37 +0200
committerMichael Brown2005-04-16 19:30:37 +0200
commit5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa (patch)
treea4623925d399549f734e92b0be6e098a5b43609d /src/drivers/net/via-rhine.c
parentAvoid signed/unsigned warnings by explicitly making PCI_{BUS,DEV,FUNC} (diff)
downloadipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.tar.gz
ipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.tar.xz
ipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.zip
Place the call to adjust_pci_device() back in the individual drivers,
since we probably shouldn't be doing this to arbitrary devices during a PCI bus scan...
Diffstat (limited to 'src/drivers/net/via-rhine.c')
-rw-r--r--src/drivers/net/via-rhine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/net/via-rhine.c b/src/drivers/net/via-rhine.c
index 7c68e873..f3bfc052 100644
--- a/src/drivers/net/via-rhine.c
+++ b/src/drivers/net/via-rhine.c
@@ -962,12 +962,11 @@ rhine_probe ( struct dev *dev, struct pci_device *pci ) {
return 0;
rhine_probe1 (nic, pci, pci->ioaddr, pci->dev_id, -1);
+ adjust_pci_device ( pci );
rhine_reset (nic);
nic->nic_op = &rhine_operations;
nic->irqno = pci->irq;
nic->ioaddr = tp->ioaddr;
-
-
return 1;
}