summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorYannick Heneault <yheneaul@matrox.com>2010-12-17 09:00:46 -0500
committerYannick Heneault <yheneaul@matrox.com>2010-12-17 09:00:46 -0500
commit5f1b04e86e79938c8158055a777280a649f95510 (patch)
tree266bf828b9ee389055996c0dd5b24770755c4873 /src/mga.h
parentf7a2ef60e18e2cc464f69c1cad4681096c645651 (diff)
added support for G200ER.
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mga.h b/src/mga.h
index 7725b56..c520e86 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -136,6 +136,10 @@ void MGAdbg_outreg32(ScrnInfoPtr, int,int, char*);
#define PCI_CHIP_MGAG200_EH_PCI 0x0533
#endif
+#ifndef PCI_CHIP_MGAG200_ER_PCI
+#define PCI_CHIP_MGAG200_ER_PCI 0x0534
+#endif
+
/*
* Read/write to the DAC via MMIO
*/
@@ -199,7 +203,9 @@ void MGAdbg_outreg32(ScrnInfoPtr, int,int, char*);
typedef struct {
unsigned char ExtVga[6];
unsigned char DacClk[6];
- unsigned char * DacRegs;
+ unsigned char ExtVga_Index24;
+ unsigned char Dac_Index90;
+ unsigned char * DacRegs;
unsigned long crtc2[0x58];
unsigned char dac2[0x21];
CARD32 Option;
@@ -478,6 +484,7 @@ typedef struct {
int is_G200WB:1;
int is_G200EV:1;
int is_G200EH:1;
+ int is_G200ER:1;
int KVM;