summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-06-09 11:36:46 -0700
committerIan Romanick <idr@us.ibm.com>2008-06-09 11:36:46 -0700
commit9e2ee9403c198da5d79dfb2f4fcafe9b381afd3d (patch)
tree779fedbf272279e387d49a46e1df2db19db3e944 /src/mga.h
parentfd9732800687b96caa9f81c0cc4b24c6aad04e78 (diff)
G200EV: Enable support for G200EV
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mga.h b/src/mga.h
index c7fd93d..2469554 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -124,6 +124,10 @@ void MGAdbg_outreg32(ScrnInfoPtr, int,int, char*);
#define PCI_CHIP_MGAG200_SE_B_PCI 0x0524
#endif
+#ifndef PCI_CHIP_MGAG200_EV_PCI
+#define PCI_CHIP_MGAG200_EV_PCI 0x0530
+#endif
+
/*
* Read/write to the DAC via MMIO
*/
@@ -195,6 +199,9 @@ typedef struct {
CARD32 Option3;
long Clock;
Bool PIXPLLCSaved;
+ unsigned char PllM;
+ unsigned char PllN;
+ unsigned char PllP;
} MGARegRec, *MGARegPtr;
/* For programming the second CRTC */
@@ -460,6 +467,7 @@ typedef struct {
int is_Gx50:1;
int is_G200SE:1;
+ int is_G200EV:1;
CARD32 reg_1e24; /* model revision on g200se */
Bool Primary;