summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-02 01:03:50 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-02 01:03:50 +0000
commit07373669514b104a11fb1b4ed5214f3764c83a2f (patch)
tree79180b5c1bb8ee011b4bf7a829f57ae55f832c59 /src/mga.h
parent88ece3c37c4ed529686b6cdea1bf9b6eed8fceea (diff)
Bug #6328: Add support for Matrox G200SE chips. (Matrox)
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mga.h b/src/mga.h
index 7b4a209..d12d940 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -118,6 +118,14 @@ void MGAdbg_outreg32(ScrnInfoPtr, int,int, char*);
#define OUTREG(addr,val) MGAdbg_outreg32(pScrn, addr, val, __FUNCTION__)
#endif /* EXTRADEBUG */
+#ifndef PCI_CHIP_MGAG200_SE_A_PCI
+#define PCI_CHIP_MGAG200_SE_A_PCI 0x0522
+#endif
+
+#ifndef PCI_CHIP_MGAG200_SE_B_PCI
+#define PCI_CHIP_MGAG200_SE_B_PCI 0x0524
+#endif
+
/*
* Read/write to the DAC via MMIO
*/
@@ -152,8 +160,8 @@ void MGAdbg_outreg32(ScrnInfoPtr, int,int, char*);
#define MGA_MODULE_DATA mgaModuleData
#define MGA_DRIVER_NAME "mga"
#define MGA_MAJOR_VERSION 1
-#define MGA_MINOR_VERSION 2
-#define MGA_PATCHLEVEL 1
+#define MGA_MINOR_VERSION 3
+#define MGA_PATCHLEVEL 0
typedef struct {
unsigned char ExtVga[6];
@@ -658,6 +666,8 @@ void MGAG450PrintPLL(ScrnInfoPtr pScrn);
#endif
long MGAG450SavePLLFreq(ScrnInfoPtr pScrn);
void MGAprintDac(ScrnInfoPtr pScrn);
+void MGAG200SESaveFonts(ScrnInfoPtr, vgaRegPtr);
+void MGAG200SERestoreFonts(ScrnInfoPtr, vgaRegPtr);
#ifdef USEMGAHAL
/************ ESC Call Definition ***************/