diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-08-31 11:05:57 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-08-31 11:05:57 -0700 |
commit | 923176f5aad777b4023003a457bb77da21373389 (patch) | |
tree | c5d50681090ba9f529c8e55a87d6d727abf6eb6a /src/mga.h | |
parent | 90beb8c27b4206b593898d346bf37ab49e75b975 (diff) |
Use XSERVER_LIBPCIACCESS to detect pci-rework.
Diffstat (limited to 'src/mga.h')
-rw-r--r-- | src/mga.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,7 +14,7 @@ #ifndef MGA_H #define MGA_H -#ifdef PCIACCESS +#ifdef XSERVER_LIBPCIACCESS #include <pciaccess.h> #endif #include <string.h> @@ -289,7 +289,7 @@ typedef struct { #ifdef DISABLE_VGA_IO typedef struct mgaSave { -#ifdef PCIACCESS +#ifdef XSERVER_LIBPCIACCESS struct pci_device * pvp; #else pciVideoPtr pvp; @@ -441,7 +441,7 @@ typedef struct { EntityInfoPtr pEnt; struct mga_bios_values bios; CARD8 BiosOutputMode; -#ifdef PCIACCESS +#ifdef XSERVER_LIBPCIACCESS struct pci_device * PciInfo; #else pciVideoPtr PciInfo; @@ -482,7 +482,7 @@ typedef struct { */ int iload_bar; -#ifndef PCIACCESS +#ifndef XSERVER_LIBPCIACCESS unsigned long IOAddress; unsigned long ILOADAddress; unsigned long BiosAddress; |