summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/natsemi.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/natsemi.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/natsemi.c')
-rw-r--r--src/drivers/net/natsemi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/net/natsemi.c b/src/drivers/net/natsemi.c
index a8b6a0dc5..6dda7b5bd 100644
--- a/src/drivers/net/natsemi.c
+++ b/src/drivers/net/natsemi.c
@@ -253,6 +253,8 @@ natsemi_probe ( struct dev *dev, struct pci_device *pci ) {
if (pci->ioaddr == 0)
return 0;
+ adjust_pci_device(pci);
+
/* initialize some commonly used globals */
nic->irqno = 0;