summaryrefslogtreecommitdiff
path: root/src/dev/pcidev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/pcidev.cc')
-rw-r--r--src/dev/pcidev.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/pcidev.cc b/src/dev/pcidev.cc
index a22612d18..2c7d50e83 100644
--- a/src/dev/pcidev.cc
+++ b/src/dev/pcidev.cc
@@ -143,7 +143,7 @@ PciDev::PciDev(const Params *p)
}
}
- plat->registerPciDevice(0, p->pci_dev, p->pci_func,
+ plat->registerPciDevice(p->pci_bus, p->pci_dev, p->pci_func,
letoh(config.interruptLine));
}