summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-01-26 17:31:26 -0500
committerMatt Turner <mattst88@gmail.com>2012-01-26 17:31:26 -0500
commit1cac2174beb340f9a8b868818a5261b80435d3eb (patch)
tree1baef037e420c7abbf07bcdde12378dd69ccbda5
parentbd0aa75692cc421bfeada64239fc381c40bc2ec9 (diff)
Remove uses of xf86PciInfo.h
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--src/ark.h7
-rw-r--r--src/ark_accel.c1
-rw-r--r--src/ark_driver.c1
3 files changed, 6 insertions, 3 deletions
diff --git a/src/ark.h b/src/ark.h
index 077f93b..f1bdb35 100644
--- a/src/ark.h
+++ b/src/ark.h
@@ -7,10 +7,15 @@
#include "xf86.h"
#include "xf86Pci.h"
-#include "xf86PciInfo.h"
#include "xaa.h"
#include "vgaHW.h"
+#define PCI_VENDOR_ARK 0xEDD8
+#define PCI_CHIP_1000PV 0xA091
+#define PCI_CHIP_2000PV 0xA099
+#define PCI_CHIP_2000MT 0xA0A1
+#define PCI_CHIP_2000MI 0xA0A9
+
typedef struct _ARKRegRec {
unsigned char sr10, sr11, sr12, sr13, sr14,
sr15, sr16, sr17, sr18, sr20,
diff --git a/src/ark_accel.c b/src/ark_accel.c
index fb6aff9..385a424 100644
--- a/src/ark_accel.c
+++ b/src/ark_accel.c
@@ -35,7 +35,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xaa.h"
-#include "xf86PciInfo.h"
#include "compiler.h"
#include "ark.h"
diff --git a/src/ark_driver.c b/src/ark_driver.c
index caad4c8..a39b760 100644
--- a/src/ark_driver.c
+++ b/src/ark_driver.c
@@ -34,7 +34,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86Pci.h"
-#include "xf86PciInfo.h"
#include "xf86fbman.h"
#include "xf86cmap.h"
#include "compiler.h"