summaryrefslogtreecommitdiff
path: root/linux-core/tdfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/tdfx_drv.c')
-rw-r--r--linux-core/tdfx_drv.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/linux-core/tdfx_drv.c b/linux-core/tdfx_drv.c
index 94e5d41c..8f975875 100644
--- a/linux-core/tdfx_drv.c
+++ b/linux-core/tdfx_drv.c
@@ -44,11 +44,15 @@
#define DRIVER_MINOR 0
#define DRIVER_PATCHLEVEL 0
-static u_int DRM(idlist)[] = {
- 0x121A0003, /* Banshee */
- 0x121A0005, /* Voodoo3 */
- 0x121A0009, /* Voodoo5 */
- 0
+#ifndef PCI_DEVICE_ID_3DFX_VOODOO5
+#define PCI_DEVICE_ID_3DFX_VOODOO5 0x0009
+#endif
+
+static drm_pci_list_t DRM(idlist)[] = {
+ { PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_BANSHEE },
+ { PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_VOODOO3 },
+ { PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_VOODOO5 },
+ { 0, 0 }
};
#define DRIVER_CARD_LIST DRM(idlist)