summaryrefslogtreecommitdiff
path: root/lib/intel_chipset.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-14 15:56:14 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-14 15:57:40 +0000
commit41570d9bf583d35687bab88ac88620af41404836 (patch)
tree48c8cba44c9785ce392c7791323cdbb1dc31231d /lib/intel_chipset.h
parentdac602b7b3678c82dd7bc41f258e6518efb8d6cd (diff)
Remove confusing use of IS_9XX
... and test for what we mean instead. Reported-by: Diego Celix <dcelix@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_chipset.h')
-rwxr-xr-xlib/intel_chipset.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 48c441d8..d1e50881 100755
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -125,10 +125,6 @@
devid == PCI_CHIP_I946_GZ || \
IS_G4X(devid))
-#define IS_965(devid) (IS_GEN4(devid) || \
- IS_GEN5(devid) || \
- IS_GEN6(devid))
-
#define IS_GEN5(devid) (IS_ILD(devid) || IS_ILM(devid))
#define IS_GEN6(devid) (devid == PCI_CHIP_SANDYBRIDGE_GT1 || \
@@ -139,9 +135,8 @@
devid == PCI_CHIP_SANDYBRIDGE_M_GT2_PLUS || \
devid == PCI_CHIP_SANDYBRIDGE_S)
-#define IS_9XX(devid) (IS_GEN3(devid) || \
- IS_GEN4(devid) || \
- IS_GEN4(devid) || \
+#define IS_965(devid) (IS_GEN4(devid) || \
+ IS_GEN5(devid) || \
IS_GEN6(devid))
#define IS_INTEL(devid) (IS_GEN2(devid) || \