summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorYannick Henault <yheneaul@matrox.com>2008-06-30 17:00:16 -0400
committerAdam Jackson <ajax@redhat.com>2008-06-30 17:00:16 -0400
commit62c8f0ad5bb3dd23226a6b481ed4f260c6770f55 (patch)
tree69b4aaeaf24fb6d836e7ea61aac5a74d13609573 /src/mga.h
parent32d50fca615af2c49914dd88c9da0f21b868b172 (diff)
Bug #16545: Add G200WB support.
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mga.h b/src/mga.h
index 2469554..a831862 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -85,7 +85,8 @@ typedef enum {
OPTION_METAMODES,
OPTION_OLDDMA,
OPTION_PCIDMA,
- OPTION_ACCELMETHOD
+ OPTION_ACCELMETHOD,
+ OPTION_KVM
} MGAOpts;
@@ -124,6 +125,10 @@ void MGAdbg_outreg32(ScrnInfoPtr, int,int, char*);
#define PCI_CHIP_MGAG200_SE_B_PCI 0x0524
#endif
+#ifndef PCI_CHIP_MGAG200_WINBOND_PCI
+#define PCI_CHIP_MGAG200_WINBOND_PCI 0x0532
+#endif
+
#ifndef PCI_CHIP_MGAG200_EV_PCI
#define PCI_CHIP_MGAG200_EV_PCI 0x0530
#endif
@@ -467,7 +472,11 @@ typedef struct {
int is_Gx50:1;
int is_G200SE:1;
+ int is_G200WB:1;
int is_G200EV:1;
+
+ int KVM;
+
CARD32 reg_1e24; /* model revision on g200se */
Bool Primary;