[Mesa-dev] [PATCH 01/12] pci_ids: add vmwgfx pci id list
Chia-I Wu
olvaffe at gmail.com
Wed Aug 24 21:55:54 PDT 2011
From: Chia-I Wu <olv at lunarg.com>
There is only one chipset
15ad:0405 VMware SVGA II Adapter
---
include/pci_ids/pci_id_driver_map.h | 7 +++++++
include/pci_ids/vmwgfx_pci_ids.h | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
create mode 100644 include/pci_ids/vmwgfx_pci_ids.h
diff --git a/include/pci_ids/pci_id_driver_map.h b/include/pci_ids/pci_id_driver_map.h
index 9112efd..c3eec14 100644
--- a/include/pci_ids/pci_id_driver_map.h
+++ b/include/pci_ids/pci_id_driver_map.h
@@ -53,6 +53,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;
@@ -71,6 +77,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 0000000..124d75b
--- /dev/null
+++ b/include/pci_ids/vmwgfx_pci_ids.h
@@ -0,0 +1 @@
+CHIPSET(0x0405, SVGAII, SVGAII)
--
1.7.5.4
More information about the mesa-dev
mailing list