[PATCH xf86-video-sis 6/6] Clean up XGI Technology PCI Device IDs
Kevin Brace
kevinbrace at gmx.com
Tue Dec 17 03:12:31 UTC 2019
From: Kevin Brace <kevinbrace at bracecomputerlab.com>
Signed-off-by: Kevin Brace <kevinbrace at bracecomputerlab.com>
---
src/sis.h | 17 +++++++++--------
1 file 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
--
2.7.4
More information about the xorg-devel
mailing list