path: root/include/pci_ids/pci_id_driver_map.h
diff options
authorKenneth Graunke <>2013-06-04 19:01:51 -0700
committerKenneth Graunke <>2013-06-06 14:28:35 -0700
commit757ad82867252c2883ea94dad582db086e485f04 (patch)
tree8d1fc3f51202663f4e38ba033cd92f806212d6e0 /include/pci_ids/pci_id_driver_map.h
parentea92b700df602be2ce08dd42052ff38f36148948 (diff)
intel: Use the CHIPSET macro in the PCI ID tables for the device name.
Putting the human readable device names directly in the PCI ID list consolidates things in one place. It also makes it easy to customize the name on a per-PCI ID basis without a huge code explosion. Based on a patch by Kristian Høgsberg. v2: Fix 830M/845G names and #undef CHIPSET (caught by Emit Velikov). Signed-off-by: Kenneth Graunke <> Reviewed-by: Eric Anholt <>
Diffstat (limited to 'include/pci_ids/pci_id_driver_map.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pci_ids/pci_id_driver_map.h b/include/pci_ids/pci_id_driver_map.h
index 41bb628f4c6..1d1f3c38bcd 100644
--- a/include/pci_ids/pci_id_driver_map.h
+++ b/include/pci_ids/pci_id_driver_map.h
@@ -8,13 +8,13 @@
static const int i915_chip_ids[] = {
-#define CHIPSET(chip, desc) chip,
+#define CHIPSET(chip, desc, name) chip,
#include "pci_ids/i915_pci_ids.h"
#undef CHIPSET
static const int i965_chip_ids[] = {
-#define CHIPSET(chip, desc) chip,
+#define CHIPSET(chip, desc, name) chip,
#include "pci_ids/i965_pci_ids.h"
#undef CHIPSET