summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-01-05 17:24:14 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-01-05 17:24:14 +0000
commitf1d430b3cf60f8e6d4f5810bcde9bc17bd36ac8c (patch)
tree1af0127a70c4ea960f7e97b726f16eb87ecfdf0e
parent6d699a79c84209eff107f41bdb9b188494e6f8b8 (diff)
Adapt to the recent cleanup of Intel PCI host bridges Ids. ok oga@
-rw-r--r--sys/dev/pci/drm/i915_drv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915_drv.h b/sys/dev/pci/drm/i915_drv.h
index 639227ba212..99a16492abe 100644
--- a/sys/dev/pci/drm/i915_drv.h
+++ b/sys/dev/pci/drm/i915_drv.h
@@ -1155,10 +1155,10 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
#define IS_I865G(dev) ((dev)->pci_device == PCI_DEVICE_ID_INTEL_82865_IG)
#ifdef __OpenBSD__
-#define IS_I915G(dev) (dev->pci_device == PCI_PRODUCT_INTEL_82915G_IV)/* || dev->pci_device == PCI_DEVICE_ID_INTELPCI_CHIP_E7221_G)*/
-#define IS_I915GM(dev) ((dev)->pci_device == PCI_PRODUCT_INTEL_82915GM_IGD)
+#define IS_I915G(dev) (dev->pci_device == PCI_PRODUCT_INTEL_82915G_IGD_1)/* || dev->pci_device == PCI_DEVICE_ID_INTELPCI_CHIP_E7221_G)*/
+#define IS_I915GM(dev) ((dev)->pci_device == PCI_PRODUCT_INTEL_82915GM_IGD_1)
#define IS_I945G(dev) ((dev)->pci_device == PCI_PRODUCT_INTEL_82945G_IGD_1)
-#define IS_I945GM(dev) ((dev)->pci_device == PCI_PRODUCT_INTEL_82945GM_IGD)
+#define IS_I945GM(dev) ((dev)->pci_device == PCI_PRODUCT_INTEL_82945GM_IGD_1)
#else
#define IS_I915G(dev) (dev->pci_device == PCI_DEVICE_ID_INTEL_82915G_IG)/* || dev->pci_device == PCI_DEVICE_ID_INTELPCI_CHIP_E7221_G)*/
#define IS_I915GM(dev) ((dev)->pci_device == PCI_DEVICE_ID_INTEL_82915GM_IG)