summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2013-02-02 11:10:24 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2013-02-02 11:10:24 +0100
commitef866c7293e699b119ae61738e221857a36a5362 (patch)
treea127e6641f52dd58196755ad6e2812d79ac33f5d
parent9dc0072e8d5a47fb0b2ada50fb897cb2c740bb40 (diff)
intel: add more VLV PCI IDs
-rw-r--r--intel/intel_chipset.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index a2eb8947..ebec2f8a 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -81,12 +81,15 @@
#define PCI_CHIP_HASWELL_CRW_M_GT2_PLUS 0x0D36
#define PCI_CHIP_HASWELL_CRW_S_GT1 0x0D1A /* Server */
#define PCI_CHIP_HASWELL_CRW_S_GT2 0x0D2A
#define PCI_CHIP_HASWELL_CRW_S_GT2_PLUS 0x0D3A
#define PCI_CHIP_VALLEYVIEW_PO 0x0f30 /* power on board */
+#define PCI_CHIP_VALLEYVIEW_1 0x0f31
+#define PCI_CHIP_VALLEYVIEW_2 0x0f32
+#define PCI_CHIP_VALLEYVIEW_3 0x0f33
#define IS_830(dev) (dev == 0x3577)
#define IS_845(dev) (dev == 0x2562)
#define IS_85X(dev) (dev == 0x3582)
#define IS_865(dev) (dev == 0x2572)
@@ -121,13 +124,16 @@
IS_945(dev) || \
IS_G33(dev) || \
IS_PINEVIEW(dev))
#define IS_I965GM(dev) (dev == 0x2A02)
-#define IS_VALLEYVIEW(dev) (dev == 0xf30)
+#define IS_VALLEYVIEW(dev) (((dev) == PCI_CHIP_VALLEYVIEW_PO) || \
+ ((dev) == PCI_CHIP_VALLEYVIEW_1) || \
+ ((dev) == PCI_CHIP_VALLEYVIEW_2) || \
+ ((dev) == PCI_CHIP_VALLEYVIEW_3))
#define IS_GEN4(dev) (dev == 0x2972 || \
dev == 0x2982 || \
dev == 0x2992 || \
dev == 0x29A2 || \
dev == 0x2A02 || \