summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-08-24 13:48:25 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-08-27 17:28:30 +0800
commitd074acb4fa34712c49dd5b122bb074108cf5926b (patch)
treee7220b5bc79b94dc325cb5b948cb9955552d9cd6 /include
parent3a1ed4eaf20a350a16f18cd20140ed4182a487c3 (diff)
pci_ids: add vmwgfx pci id list
There is only one chipset 15ad:0405 VMware SVGA II Adapter
Diffstat (limited to 'include')
-rw-r--r--include/pci_ids/pci_id_driver_map.h7
-rw-r--r--include/pci_ids/vmwgfx_pci_ids.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/include/pci_ids/pci_id_driver_map.h b/include/pci_ids/pci_id_driver_map.h
index 54b56d5f99..232359f6e0 100644
--- a/include/pci_ids/pci_id_driver_map.h
+++ b/include/pci_ids/pci_id_driver_map.h
@@ -45,6 +45,12 @@ static const int r600_chip_ids[] = {
#undef CHIPSET
};
+static const int vmwgfx_chip_ids[] = {
+#define CHIPSET(chip, name, family) chip,
+#include "pci_ids/vmwgfx_pci_ids.h"
+#undef CHIPSET
+};
+
static const struct {
int vendor_id;
const char *driver;
@@ -60,6 +66,7 @@ static const struct {
{ 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) },
{ 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
{ 0x10de, "nouveau", NULL, -1 },
+ { 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_ids) },
{ 0x0000, NULL, NULL, 0 },
};
diff --git a/include/pci_ids/vmwgfx_pci_ids.h b/include/pci_ids/vmwgfx_pci_ids.h
new file mode 100644
index 0000000000..124d75b725
--- /dev/null
+++ b/include/pci_ids/vmwgfx_pci_ids.h
@@ -0,0 +1 @@
+CHIPSET(0x0405, SVGAII, SVGAII)