From ca66e92604a6bc9ad31b54c50c8ca508dfb0b91c Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Wed, 12 May 2010 16:20:01 +0000 Subject: Add Pineview M to intagp and inteldrm. Tested (and initial tweaked diff) from Erik Mugele; thanks! --- sys/dev/pci/agp_i810.c | 3 ++- sys/dev/pci/drm/i915_drv.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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} }; -- cgit v1.2.3