summaryrefslogtreecommitdiff
path: root/src/s3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s3.h')
-rw-r--r--src/s3.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/s3.h b/src/s3.h
index 206d1f5..72a1072 100644
--- a/src/s3.h
+++ b/src/s3.h
@@ -34,7 +34,6 @@
#include "xf86.h"
#include "xf86Pci.h"
-#include "xf86PciInfo.h"
#include "xf86RamDac.h"
#ifdef HAVE_XAA_H
#include "xaa.h"
@@ -50,6 +49,24 @@
#include "compat-api.h"
+
+#define PCI_VENDOR_S3 0x5333
+
+#define PCI_CHIP_PLATO 0x0551
+#define PCI_CHIP_TRIO 0x8811
+#define PCI_CHIP_AURORA64VP 0x8812
+#define PCI_CHIP_TRIO64UVP 0x8814
+#define PCI_CHIP_868 0x8880
+#define PCI_CHIP_928 0x88B0
+#define PCI_CHIP_864_0 0x88C0
+#define PCI_CHIP_864_1 0x88C1
+#define PCI_CHIP_964_0 0x88D0
+#define PCI_CHIP_964_1 0x88D1
+#define PCI_CHIP_968 0x88F0
+#define PCI_CHIP_TRIO64V2_DXGX 0x8901
+#define PCI_CHIP_PLATO_PX 0x8902
+
+
typedef struct _S3RegRec {
unsigned char cr31, cr32, cr33, cr34, cr3a, cr3b, cr3c;
unsigned char cr3b2, cr3c2;