summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm
diff options
context:
space:
mode:
authorCarlos Martín <inean@users.sf.net>2008-01-23 16:41:17 +1000
committerDave Airlie <airlied@redhat.com>2008-02-07 15:09:39 +1000
commit4d1f78880e9631fb08052dcc8e3341eecea537e0 (patch)
tree430173045327f87173b9569e978cc4c4a6b54637 /drivers/char/drm
parentd5b0d1b5bda979b077cf011e79fc19677663afc4 (diff)
drm/i915: add support for E7221 chipset
E7221 chipset is a server version of the i915. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r--drivers/char/drm/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/i915_drv.h b/drivers/char/drm/i915_drv.h
index 661e2f57119..9c3f7179861 100644
--- a/drivers/char/drm/i915_drv.h
+++ b/drivers/char/drm/i915_drv.h
@@ -1075,7 +1075,7 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
#define IS_I855(dev) ((dev)->pci_device == 0x3582)
#define IS_I865G(dev) ((dev)->pci_device == 0x2572)
-#define IS_I915G(dev) (dev->pci_device == 0x2582)/* || dev->pci_device == PCI_DEVICE_ID_INTELPCI_CHIP_E7221_G)*/
+#define IS_I915G(dev) ((dev)->pci_device == 0x2582 || (dev)->pci_device == 0x258a)
#define IS_I915GM(dev) ((dev)->pci_device == 0x2592)
#define IS_I945G(dev) ((dev)->pci_device == 0x2772)
#define IS_I945GM(dev) ((dev)->pci_device == 0x27A2)