diff options
author | Dave Airlie <airlied@redhat.com> | 2008-03-10 11:53:07 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-03-10 11:53:07 +1000 |
commit | 88944bd72555056c10dfcf87eb1a98c9ecf704bc (patch) | |
tree | 0dd958cbd585d0b38a7a69b74e38f539b6c92ac3 /src/ast.h | |
parent | cbf726c635280ea79524e94d6e993ed29c647bd2 (diff) |
ast: pciaccess conversion
Diffstat (limited to 'src/ast.h')
-rw-r--r-- | src/ast.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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; |