summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Carlier <lordheavym@gmail.com>2016-11-21 20:53:03 +0100
committerKevin Brace <kevinbrace@gmx.com>2018-12-06 21:06:42 -0800
commitb532708b75708f7d89449bb7b3b3f4f5df2bfb79 (patch)
tree38e9f82accf48a5614e734255d48634b102b86ac
parentffeb1b0e41a0653416c69e083bb3cf31c5519663 (diff)
Stop using deprecated xf86PciInfo.h
v2: Remove empty lines Signed-off-by: Laurent Carlier <lordheavym@gmail.com> Reviewed-by: Connor Behan <connor.behan@gmail.com>
-rw-r--r--src/i128.h6
-rw-r--r--src/i128IBMDAC.c1
-rw-r--r--src/i128_driver.c3
-rw-r--r--src/i128accel.c1
-rw-r--r--src/i128dga.c1
-rw-r--r--src/i128exa.c1
-rw-r--r--src/i128init.c1
7 files changed, 6 insertions, 8 deletions
diff --git a/src/i128.h b/src/i128.h
index 73739e5..64a62d4 100644
--- a/src/i128.h
+++ b/src/i128.h
@@ -36,6 +36,12 @@ struct source_format {
#define I128PTR(p) ((I128Ptr)((p)->driverPrivate))
+#define PCI_VENDOR_NUMNINE 0x105D
+#define PCI_CHIP_I128 0x2309
+#define PCI_CHIP_I128_2 0x2339
+#define PCI_CHIP_I128_T2R 0x493D
+#define PCI_CHIP_I128_T2R4 0x5348
+
typedef struct {
EntityInfoPtr pEnt;
pciVideoPtr PciInfo;
diff --git a/src/i128IBMDAC.c b/src/i128IBMDAC.c
index 8bd78e9..d313c9d 100644
--- a/src/i128IBMDAC.c
+++ b/src/i128IBMDAC.c
@@ -27,7 +27,6 @@
#endif
#include "xf86.h"
-#include "xf86PciInfo.h"
#include "xf86Pci.h"
#include "cursorstr.h"
#include "servermd.h"
diff --git a/src/i128_driver.c b/src/i128_driver.c
index 51a4135..14bf264 100644
--- a/src/i128_driver.c
+++ b/src/i128_driver.c
@@ -38,9 +38,6 @@
#include "compiler.h"
-/* Drivers for PCI hardware need this */
-#include "xf86PciInfo.h"
-
/* Drivers that need to access the PCI config space directly need this */
#include "xf86Pci.h"
diff --git a/src/i128accel.c b/src/i128accel.c
index fd65c97..ae8dac7 100644
--- a/src/i128accel.c
+++ b/src/i128accel.c
@@ -34,7 +34,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86Pci.h"
-#include "xf86PciInfo.h"
#include "i128.h"
#include "i128reg.h"
diff --git a/src/i128dga.c b/src/i128dga.c
index d9453bf..713625f 100644
--- a/src/i128dga.c
+++ b/src/i128dga.c
@@ -6,7 +6,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86Pci.h"
-#include "xf86PciInfo.h"
#include "i128.h"
#include "dgaproc.h"
diff --git a/src/i128exa.c b/src/i128exa.c
index 13bba11..94eb6ef 100644
--- a/src/i128exa.c
+++ b/src/i128exa.c
@@ -35,7 +35,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86Pci.h"
-#include "xf86PciInfo.h"
#include "i128.h"
#include "i128reg.h"
diff --git a/src/i128init.c b/src/i128init.c
index 1a34053..9d4f410 100644
--- a/src/i128init.c
+++ b/src/i128init.c
@@ -29,7 +29,6 @@
#include "xf86.h"
-#include "xf86PciInfo.h"
#include "xf86Pci.h"
#include "i128.h"