summaryrefslogtreecommitdiff
path: root/src/mga_macros.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-08-31 11:05:57 -0700
committerIan Romanick <idr@us.ibm.com>2007-08-31 11:05:57 -0700
commit923176f5aad777b4023003a457bb77da21373389 (patch)
treec5d50681090ba9f529c8e55a87d6d727abf6eb6a /src/mga_macros.h
parent90beb8c27b4206b593898d346bf37ab49e75b975 (diff)
Use XSERVER_LIBPCIACCESS to detect pci-rework.
Diffstat (limited to 'src/mga_macros.h')
-rw-r--r--src/mga_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_macros.h b/src/mga_macros.h
index 3de9618..69dc8e3 100644
--- a/src/mga_macros.h
+++ b/src/mga_macros.h
@@ -3,7 +3,7 @@
#ifndef _MGA_MACROS_H_
#define _MGA_MACROS_H_
-#ifdef PCIACCESS
+#ifdef XSERVER_LIBPCIACCESS
#define MGA_IO_ADDRESS(p) (p)->PciInfo->regions[(p)->io_bar].base_addr
#define VENDOR_ID(p) (p)->vendor_id
#define DEVICE_ID(p) (p)->device_id