summaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-03-10 11:53:07 +1000
committerDave Airlie <airlied@redhat.com>2008-03-10 11:53:07 +1000
commit88944bd72555056c10dfcf87eb1a98c9ecf704bc (patch)
tree0dd958cbd585d0b38a7a69b74e38f539b6c92ac3 /src/ast.h
parentcbf726c635280ea79524e94d6e993ed29c647bd2 (diff)
ast: pciaccess conversion
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ast.h b/src/ast.h
index e7376c6..cc878e9 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -23,6 +23,8 @@
#include <string.h>
#include <stdlib.h>
+#include "ast_pcirename.h"
+
/* Compiler Options */
#define Accel_2D
/* #define MMIO_2D */
@@ -130,8 +132,12 @@ typedef struct {
typedef struct _ASTRec {
EntityInfoPtr pEnt;
- pciVideoPtr PciInfo;
- PCITAG PciTag;
+#ifndef XSERVER_LIBPCIACCESS
+ pciVideoPtr PciInfo;
+ PCITAG PciTag;
+#else
+ struct pci_device *PciInfo;
+#endif
OptionInfoPtr Options;
DisplayModePtr ModePtr;