diff options
Diffstat (limited to 'hw/xfree86/common')
-rw-r--r-- | hw/xfree86/common/xf86pciBus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index ec55f6360..7e569900d 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -304,7 +304,7 @@ FindPCIVideoInfo(void) mem64 = TRUE; #if defined(LONG64) || defined(WORD64) info->memBase[0] |= - (memType)PCIGETMEMORY64HIGH(pcrp->pci_base1) << 32; + (memType)PCIGETMEMORY64HIGH(pcrp->pci_base0) << 32; #else if (pcrp->pci_base1) info->memBase[0] = 0; @@ -324,7 +324,7 @@ FindPCIVideoInfo(void) mem64 = TRUE; #if defined(LONG64) || defined(WORD64) info->memBase[1] |= - (memType)PCIGETMEMORY64HIGH(pcrp->pci_base2) << 32; + (memType)PCIGETMEMORY64HIGH(pcrp->pci_base1) << 32; #else if (pcrp->pci_base2) info->memBase[1] = 0; @@ -345,7 +345,7 @@ FindPCIVideoInfo(void) mem64 = TRUE; #if defined(LONG64) || defined(WORD64) info->memBase[2] |= - (memType)PCIGETMEMORY64HIGH(pcrp->pci_base3) << 32; + (memType)PCIGETMEMORY64HIGH(pcrp->pci_base2) << 32; #else if (pcrp->pci_base3) info->memBase[2] = 0; @@ -366,7 +366,7 @@ FindPCIVideoInfo(void) mem64 = TRUE; #if defined(LONG64) || defined(WORD64) info->memBase[3] |= - (memType)PCIGETMEMORY64HIGH(pcrp->pci_base4) << 32; + (memType)PCIGETMEMORY64HIGH(pcrp->pci_base3) << 32; #else if (pcrp->pci_base4) info->memBase[3] = 0; @@ -387,7 +387,7 @@ FindPCIVideoInfo(void) mem64 = TRUE; #if defined(LONG64) || defined(WORD64) info->memBase[4] |= - (memType)PCIGETMEMORY64HIGH(pcrp->pci_base5) << 32; + (memType)PCIGETMEMORY64HIGH(pcrp->pci_base4) << 32; #else if (pcrp->pci_base5) info->memBase[4] = 0; |