summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@bracecomputerlab.com>2019-12-16 20:50:24 -0600
committerKevin Brace <kevinbrace@bracecomputerlab.com>2019-12-16 20:50:24 -0600
commit563cf3c47a3373f50a9f79d7164c075dece8f01d (patch)
tree3f7f9d6fb6f869531354078944b7b4efa48c1335
parent49b642e902f9f4ed3518de5f771d53b3332e3554 (diff)
Clean up XGI Technology PCI Device IDs
Signed-off-by: Kevin Brace <kevinbrace@bracecomputerlab.com>
-rw-r--r--src/sis.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/sis.h b/src/sis.h
index 2d691a5..70a961b 100644
--- a/src/sis.h
+++ b/src/sis.h
@@ -333,17 +333,18 @@
#define PCI_CHIP_SIS660 0x6330
#define PCI_CHIP_SIS340 0x0340
-#ifndef PCI_VENDOR_XGI
-#define PCI_VENDOR_XGI 0x18ca
-#endif
-#ifndef PCI_CHIP_XGIXG20
-#define PCI_CHIP_XGIXG20 0x0020
-#endif
+/*
+ * XGI Technology PCI Vendor ID
+ */
+#define PCI_VENDOR_XGI 0x18CA
-#ifndef PCI_CHIP_XGIXG40
+/*
+ * XGI Technology PCI Device ID
+ */
+#define PCI_CHIP_XGIXG20 0x0020
#define PCI_CHIP_XGIXG40 0x0040
-#endif
+
/* pSiS->Flags (old series only) */
#define SYNCDRAM 0x00000001