diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-09-17 01:12:02 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-09-17 15:41:14 -0700 |
commit | deff2965ef35260b4b7c4bc23718833bec7143b3 (patch) | |
tree | f77e9419473a9551dd33d266b29bd049b8674dc0 /src/riva_type.h | |
parent | b2db7d414400d80a5567d71eed9a7e94f1043a20 (diff) |
libpciaccess support.
Diffstat (limited to 'src/riva_type.h')
-rw-r--r-- | src/riva_type.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/riva_type.h b/src/riva_type.h index 606e3e5..e9448e6 100644 --- a/src/riva_type.h +++ b/src/riva_type.h @@ -51,8 +51,12 @@ typedef struct { RIVA_HW_STATE SavedReg; RIVA_HW_STATE ModeReg; EntityInfoPtr pEnt; +#if XSERVER_LIBPCIACCESS + struct pci_device *PciInfo; +#else pciVideoPtr PciInfo; PCITAG PciTag; +#endif xf86AccessRec Access; int ChipRev; Bool Primary; |