summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/tdfx_drv.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-11-22 04:30:42 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-11-22 04:30:42 +0000
commit40b98550b7357a09aad4dfe870e508bc05f03705 (patch)
tree5e68228e363fbe52114b64321c51fb67f24c6f3f /sys/dev/pci/drm/tdfx_drv.c
parent90b38bc700cfe5e1cd65f0dfa5b74fdfa55eda43 (diff)
switch all of the drm drivers over to using the defines from pcidevs.
Furthermore, move the list of pcidevs from drm_pciids.h (in macros!), to the array in the driver file. The strings are left in the array for now, but will go in the next commit
Diffstat (limited to 'sys/dev/pci/drm/tdfx_drv.c')
-rw-r--r--sys/dev/pci/drm/tdfx_drv.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/tdfx_drv.c b/sys/dev/pci/drm/tdfx_drv.c
index 6b884aafc76..aa3317c126d 100644
--- a/sys/dev/pci/drm/tdfx_drv.c
+++ b/sys/dev/pci/drm/tdfx_drv.c
@@ -34,11 +34,15 @@
#include "tdfx_drv.h"
#include "drmP.h"
-#include "drm_pciids.h"
-/* drv_PCI_IDs comes from drm_pciids.h, generated from drm_pciids.txt. */
static drm_pci_id_list_t tdfx_pciidlist[] = {
- tdfx_PCI_IDS
+ {PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_BANSHEE, 0, "3dfx Voodoo Banshee"},
+ {PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO32000, 0, "3dfx Voodoo3 2000"},
+ {PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO3, 0, "3dfx Voodoo3 3000"},
+ {PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO4, 0, "3dfx Voodoo4 4500"},
+ {PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO5, 0, "3dfx Voodoo5 5500"},
+ {PCI_VENDOR_3DFX, PCI_PRODUCT_3DFX_VOODOO44200, 0, "3dfx Voodoo4 4200"},
+ {0, 0, 0, NULL}
};
static const struct drm_driver_info tdfx_driver = {