summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-05-10 17:21:12 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-05-10 17:21:12 -0700
commita09dd09e00561739a10c83eb25ee9443f8bf79f6 (patch)
tree3bac6817bf154be38c3bda063a25829ce53abfc4 /lib/intel_chipset.h
parent12de60a5e8db990c173b21857fe68ff74daa5679 (diff)
Add Ivybridge device IDs
Makes the reg dumper work better.
Diffstat (limited to 'lib/intel_chipset.h')
-rwxr-xr-xlib/intel_chipset.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index d1e50881..c4cb8209 100755
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -78,6 +78,12 @@
#define PCI_CHIP_SANDYBRIDGE_M_GT2_PLUS 0x0126
#define PCI_CHIP_SANDYBRIDGE_S 0x010A /* server */
+#define PCI_CHIP_IVYBRIDGE_GT1 0x0152 /* desktop */
+#define PCI_CHIP_IVYBRIDGE_GT2 0x0162
+#define PCI_CHIP_IVYBRIDGE_M_GT1 0x0156 /* mobile */
+#define PCI_CHIP_IVYBRIDGE_M_GT2 0x0166
+#define PCI_CHIP_IVYBRIDGE_S 0x015a /* server */
+
#define IS_MOBILE(devid) (devid == PCI_CHIP_I855_GM || \
devid == PCI_CHIP_I915_GM || \
devid == PCI_CHIP_I945_GM || \
@@ -135,15 +141,25 @@
devid == PCI_CHIP_SANDYBRIDGE_M_GT2_PLUS || \
devid == PCI_CHIP_SANDYBRIDGE_S)
+#define IS_GEN7(devid) (devid == PCI_CHIP_IVYBRIDGE_GT1 || \
+ devid == PCI_CHIP_IVYBRIDGE_GT2 || \
+ devid == PCI_CHIP_IVYBRIDGE_M_GT1 || \
+ devid == PCI_CHIP_IVYBRIDGE_M_GT2 || \
+ devid == PCI_CHIP_IVYBRIDGE_S)
+
+
#define IS_965(devid) (IS_GEN4(devid) || \
IS_GEN5(devid) || \
- IS_GEN6(devid))
+ IS_GEN6(devid) || \
+ IS_GEN7(devid))
#define IS_INTEL(devid) (IS_GEN2(devid) || \
IS_GEN3(devid) || \
IS_GEN4(devid) || \
IS_GEN5(devid) || \
- IS_GEN6(devid))
+ IS_GEN6(devid) || \
+ IS_GEN7(devid))
#define HAS_PCH_SPLIT(devid) (IS_GEN5(devid) || \
- IS_GEN6(devid))
+ IS_GEN6(devid) || \
+ IS_GEN7(devid))