From 613d1c48968bf5b6130d01a3408a70fc2d1307ee Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 22 Oct 2009 15:52:02 -0700 Subject: Add some initial definitions for Sandybridge. --- lib/intel_chipset.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'lib/intel_chipset.h') diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index 9197ff6e..3545657e 100755 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -70,6 +70,8 @@ #define PCI_CHIP_ILD_G 0x0042 #define PCI_CHIP_ILM_G 0x0046 +#define PCI_CHIP_SANDYBRIDGE 0x0102 + #define IS_MOBILE(devid) (devid == PCI_CHIP_I855_GM || \ devid == PCI_CHIP_I915_GM || \ devid == PCI_CHIP_I945_GM || \ @@ -100,15 +102,23 @@ devid == PCI_CHIP_Q33_G || \ devid == PCI_CHIP_Q35_G || IS_IGD(devid)) -#define IS_965(devid) (devid == PCI_CHIP_I965_G || \ +#define IS_GEN4(devid) (devid == PCI_CHIP_I965_G || \ devid == PCI_CHIP_I965_Q || \ devid == PCI_CHIP_I965_G_1 || \ devid == PCI_CHIP_I965_GM || \ devid == PCI_CHIP_I965_GME || \ devid == PCI_CHIP_I946_GZ || \ - IS_G4X(devid) || \ - IS_IRONLAKE(devid)) + IS_G4X(devid)) + +#define IS_965(devid) (IS_GEN4(devid) || \ + IS_IRONLAKE(devid) || \ + IS_GEN6(devid)) + +#define IS_GEN6(devid) (devid == PCI_CHIP_SANDYBRIDGE) #define IS_9XX(devid) (IS_915(devid) || \ IS_945(devid) || \ IS_965(devid)) + +#define HAS_PCH_SPLIT(devid) (IS_IRONLAKE(devid) || \ + IS_GEN6(devid)) -- cgit v1.2.3