diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2008-09-26 21:15:54 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2008-09-26 21:15:54 +0000 |
commit | 9a6c5e6f7c6d00eb108b8fa2813744c8bd727901 (patch) | |
tree | f6ab1bfea403cf68db5a43224112ff1875c44c2b | |
parent | c20f5c2c788db820cae58aff5a1f284a791b24b4 (diff) |
Attach agp(4) to the Intel Q35 integrated video.
Tested on ASUS P5E-VM DO motherboard.
ok oga
-rw-r--r-- | sys/arch/amd64/pci/pchb.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/pci/pchb.c | 3 | ||||
-rw-r--r-- | sys/dev/pci/agp.c | 3 | ||||
-rw-r--r-- | sys/dev/pci/agp_i810.c | 6 |
4 files changed, 11 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/pchb.c b/sys/arch/amd64/pci/pchb.c index 84d8b4cf56d..662741dccdc 100644 --- a/sys/arch/amd64/pci/pchb.c +++ b/sys/arch/amd64/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.25 2008/07/07 07:54:48 bernd Exp $ */ +/* $OpenBSD: pchb.c,v 1.26 2008/09/26 21:15:53 mikeb Exp $ */ /* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -177,6 +177,7 @@ pchbattach(struct device *parent, struct device *self, void *aux) case PCI_PRODUCT_INTEL_82GM965_HB: case PCI_PRODUCT_INTEL_82G33_HB: case PCI_PRODUCT_INTEL_82G35_HB: + case PCI_PRODUCT_INTEL_82Q35_HB: has_agp = 1; break; diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c index 48a0c858b0f..794f1e673f0 100644 --- a/sys/arch/i386/pci/pchb.c +++ b/sys/arch/i386/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.73 2008/07/07 07:54:48 bernd Exp $ */ +/* $OpenBSD: pchb.c,v 1.74 2008/09/26 21:15:53 mikeb Exp $ */ /* $NetBSD: pchb.c,v 1.65 2007/08/15 02:26:13 markd Exp $ */ /* @@ -329,6 +329,7 @@ pchbattach(struct device *parent, struct device *self, void *aux) case PCI_PRODUCT_INTEL_82GM965_HB: case PCI_PRODUCT_INTEL_82G33_HB: case PCI_PRODUCT_INTEL_82G35_HB: + case PCI_PRODUCT_INTEL_82Q35_HB: has_agp = 1; break; 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; } |