diff options
author | Yannick Heneault <yheneaul@matrox.com> | 2010-12-17 09:00:46 -0500 |
---|---|---|
committer | Yannick Heneault <yheneaul@matrox.com> | 2010-12-17 09:00:46 -0500 |
commit | 5f1b04e86e79938c8158055a777280a649f95510 (patch) | |
tree | 266bf828b9ee389055996c0dd5b24770755c4873 /src/mga.h | |
parent | f7a2ef60e18e2cc464f69c1cad4681096c645651 (diff) |
added support for G200ER.
Diffstat (limited to 'src/mga.h')
-rw-r--r-- | src/mga.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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; |