summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-05-12 16:20:01 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-05-12 16:20:01 +0000
commitca66e92604a6bc9ad31b54c50c8ca508dfb0b91c (patch)
tree18f598710a7662583c93a64ad4aa680980c8ccf3
parentd536fe36ef9b74a5d3f58abc13043a33eb882483 (diff)
Add Pineview M to intagp and inteldrm.
Tested (and initial tweaked diff) from Erik Mugele; thanks!
-rw-r--r--sys/dev/pci/agp_i810.c3
-rw-r--r--sys/dev/pci/drm/i915_drv.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/agp_i810.c b/sys/dev/pci/agp_i810.c
index 9e7bf385706..d7249be14ef 100644
--- a/sys/dev/pci/agp_i810.c
+++ b/sys/dev/pci/agp_i810.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agp_i810.c,v 1.62 2010/05/09 19:40:37 oga Exp $ */
+/* $OpenBSD: agp_i810.c,v 1.63 2010/05/12 16:20:00 oga Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -183,6 +183,7 @@ agp_i810_get_chiptype(struct pci_attach_args *pa)
case PCI_PRODUCT_INTEL_82G41_IGD_1:
return (CHIP_G4X);
case PCI_PRODUCT_INTEL_PINEVIEW_IGC_1:
+ case PCI_PRODUCT_INTEL_PINEVIEW_M_IGC_1:
return (CHIP_PINEVIEW);
break;
}
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index eec608094af..d8425d24403 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -259,6 +259,8 @@ const static struct drm_pcidev inteldrm_pciidlist[] = {
CHIP_G4X|CHIP_I965|CHIP_I9XX|CHIP_HWS|CHIP_GEN4},
{PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PINEVIEW_IGC_1,
CHIP_G33|CHIP_PINEVIEW|CHIP_M|CHIP_I9XX|CHIP_HWS|CHIP_GEN3},
+ {PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PINEVIEW_M_IGC_1,
+ CHIP_G33|CHIP_PINEVIEW|CHIP_M|CHIP_I9XX|CHIP_HWS|CHIP_GEN3},
{0, 0, 0}
};