summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 11:47:59 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 11:47:59 -0800
commit0f118ed879fa6beb3a0e6303d900244598607ba6 (patch)
treed2be9fa26fdc3d7ad9e5c8e0a6734f5d3d2f2583
parentc4ef7733198f49198a02bc67a30f177205686ff8 (diff)
Stop using deprecated xf86PciInfo.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/tseng_driver.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/tseng_driver.c b/src/tseng_driver.c
index bd4a0ac..fe4238b 100644
--- a/src/tseng_driver.c
+++ b/src/tseng_driver.c
@@ -34,8 +34,6 @@
#include "tseng.h" /* this includes most of the generic ones as well */
-#include "xf86PciInfo.h"
-
/* All drivers initialising the SW cursor need this */
#include "mipointer.h"
@@ -97,6 +95,15 @@ static int pix24bpp = 0;
#define Tseng_HMAX (4096-8)
#define Tseng_VMAX (2048-1)
+/* Previously in xf86PciInfo.h */
+#define PCI_VENDOR_TSENG 0x100C
+#define PCI_CHIP_ET4000_W32P_A 0x3202
+#define PCI_CHIP_ET4000_W32P_B 0x3205
+#define PCI_CHIP_ET4000_W32P_D 0x3206
+#define PCI_CHIP_ET4000_W32P_C 0x3207
+#define PCI_CHIP_ET6000 0x3208
+#define PCI_CHIP_ET6300 0x4702
+
/*
* This contains the functions needed by the server after loading the
* driver module. It must be supplied, and gets added the driver list by