summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2005-04-11 10:05:38 +0000
committerEgbert Eich <eich@suse.de>2005-04-11 10:05:38 +0000
commit6848b0353897a6a5d1218b266c22fb87a7c6d730 (patch)
treedaa62aaa1a89fb0e401822ac4a1bf3ba0601c579 /hw/xfree86/os-support/bus
parentadac7011965ed75ea399b93dae917cb48180c77a (diff)
Correct the mask bits when checking for a 64bit memory base in PCI config
space (bugzilla #2963).
Diffstat (limited to 'hw/xfree86/os-support/bus')
-rw-r--r--hw/xfree86/os-support/bus/xf86Pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bus/xf86Pci.h b/hw/xfree86/os-support/bus/xf86Pci.h
index c27ccfde2..57c3eef63 100644
--- a/hw/xfree86/os-support/bus/xf86Pci.h
+++ b/hw/xfree86/os-support/bus/xf86Pci.h
@@ -329,7 +329,7 @@
#define PCI_MAP_IS_MEM(b) (!PCI_MAP_IS_IO(b))
#define PCI_MAP_IS64BITMEM(b) \
- (((b) & PCI_MAP_MEMORY_TYPE_MASK) == PCI_MAP_MEMORY_TYPE_64BIT)
+ (((b) & PCI_MAP_MEMORY_TYPE) == PCI_MAP_MEMORY_TYPE_64BIT)
#define PCIGETMEMORY(b) ((b) & PCI_MAP_MEMORY_ADDRESS_MASK)
#define PCIGETMEMORY64HIGH(b) (*((CARD32*)&(b) + 1))