diff options
Diffstat (limited to 'src/arch/x86/pci_ops_mmconf.c')
-rw-r--r-- | src/arch/x86/pci_ops_mmconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/pci_ops_mmconf.c b/src/arch/x86/pci_ops_mmconf.c index 989c580301..cf08e17be4 100644 --- a/src/arch/x86/pci_ops_mmconf.c +++ b/src/arch/x86/pci_ops_mmconf.c @@ -22,10 +22,10 @@ */ #define PCI_MMIO_ADDR(SEGBUS, DEVFN, WHERE, MASK) \ - ((void *)(((uintptr_t)CONFIG_MMCONF_BASE_ADDRESS |\ - (((SEGBUS) & 0xFFF) << 20) |\ - (((DEVFN) & 0xFF) << 12) |\ - ((WHERE) & 0xFFF)) & ~MASK)) + ((void *)(((uintptr_t)CONFIG_MMCONF_BASE_ADDRESS |\ + (((SEGBUS) & 0xFFF) << 20) |\ + (((DEVFN) & 0xFF) << 12) |\ + ((WHERE) & 0xFFF)) & ~MASK)) static uint8_t pci_mmconf_read_config8(struct bus *pbus, int bus, int devfn, int where) |