aboutsummaryrefslogtreecommitdiff
path: root/src/arch/i386/lib/pci_ops_mmconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/lib/pci_ops_mmconf.c')
-rw-r--r--src/arch/i386/lib/pci_ops_mmconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/lib/pci_ops_mmconf.c b/src/arch/i386/lib/pci_ops_mmconf.c
index 5095c31cd7..c037a7b4cd 100644
--- a/src/arch/i386/lib/pci_ops_mmconf.c
+++ b/src/arch/i386/lib/pci_ops_mmconf.c
@@ -13,6 +13,7 @@
*/
#define PCI_MMIO_ADDR(SEGBUS, DEVFN, WHERE) ( \
+ MMCONF_BASE_ADDRESS | \
(((SEGBUS) & 0xFFF) << 20) | \
(((DEVFN) & 0xFF) << 12) | \
((WHERE) & 0xFFF))