summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h
index ac5ebb00..46ea6948 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -299,7 +299,11 @@ typedef enum {
CHIP_ERRATA_PLL_DELAY = 0x00000004
} RADEONErrata;
-
+typedef enum {
+ CARD_PCI,
+ CARD_AGP,
+ CARD_PCIE
+} RADEONCardType;
typedef struct {
CARD32 freq;
@@ -486,7 +490,7 @@ typedef struct {
drmSize registerSize;
drm_handle_t registerHandle;
- Bool IsPCI; /* Current card is a PCI card */
+ RADEONCardType cardType; /* Current card is a PCI card */
drmSize pciSize;
drm_handle_t pciMemHandle;
unsigned char *PCI; /* Map */