summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2008-09-26 21:15:54 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2008-09-26 21:15:54 +0000
commit9a6c5e6f7c6d00eb108b8fa2813744c8bd727901 (patch)
treef6ab1bfea403cf68db5a43224112ff1875c44c2b /sys/dev
parentc20f5c2c788db820cae58aff5a1f284a791b24b4 (diff)
Attach agp(4) to the Intel Q35 integrated video.
Tested on ASUS P5E-VM DO motherboard. ok oga
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/agp.c3
-rw-r--r--sys/dev/pci/agp_i810.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/pci/agp.c b/sys/dev/pci/agp.c
index 54100016da3..85475c592b9 100644
--- a/sys/dev/pci/agp.c
+++ b/sys/dev/pci/agp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agp.c,v 1.25 2008/08/17 21:31:38 oga Exp $ */
+/* $OpenBSD: agp.c,v 1.26 2008/09/26 21:15:53 mikeb Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
* All rights reserved.
@@ -93,6 +93,7 @@ const struct agp_product agp_products[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82GM965_HB, agp_i810_attach },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82G33_HB, agp_i810_attach },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82G35_HB, agp_i810_attach },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82Q35_HB, agp_i810_attach },
#endif
#if NAGP_INTEL > 0
{ PCI_VENDOR_INTEL, -1, agp_intel_attach },
diff --git a/sys/dev/pci/agp_i810.c b/sys/dev/pci/agp_i810.c
index 815e1506671..f6fc0e5861f 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.40 2008/07/12 17:31:06 oga Exp $ */
+/* $OpenBSD: agp_i810.c,v 1.41 2008/09/26 21:15:53 mikeb Exp $ */
/* $NetBSD: agp_i810.c,v 1.15 2003/01/31 00:07:39 thorpej Exp $ */
/*-
@@ -150,6 +150,8 @@ agp_i810_vgamatch(struct pci_attach_args *pa)
case PCI_PRODUCT_INTEL_82G33_IGD_2:
case PCI_PRODUCT_INTEL_82G35_IGD_1:
case PCI_PRODUCT_INTEL_82G35_IGD_2:
+ case PCI_PRODUCT_INTEL_82Q35_IGD_1:
+ case PCI_PRODUCT_INTEL_82Q35_IGD_2:
return (1);
}
@@ -233,6 +235,8 @@ agp_i810_attach(struct agp_softc *sc, struct pci_attach_args *pa)
break;
case PCI_PRODUCT_INTEL_82G33_IGD_1:
case PCI_PRODUCT_INTEL_82G33_IGD_2:
+ case PCI_PRODUCT_INTEL_82Q35_IGD_1:
+ case PCI_PRODUCT_INTEL_82Q35_IGD_2:
isc->chiptype = CHIP_G33;
break;
}