diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-25 18:54:07 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-25 18:54:07 +0000 |
commit | c2d7eefaed6e79700d108fc23ad79d240836de16 (patch) | |
tree | 62b2ab64b9e1e8e3b2c9b7829e519ed68d7cc907 /sys/dev/pci | |
parent | b52c1e0569b6404fa06f234919c30a954dc36dba (diff) |
Support the Intel G35 which apparently works similarly to the 965.
Initial information, half the diff, and testing from Andrew Lutomirski,
thanks!
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/agp.c | 3 | ||||
-rw-r--r-- | sys/dev/pci/agp_i810.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/pci/agp.c b/sys/dev/pci/agp.c index 15f31704d45..32eac48feab 100644 --- a/sys/dev/pci/agp.c +++ b/sys/dev/pci/agp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: agp.c,v 1.21 2008/05/06 19:19:02 oga Exp $ */ +/* $OpenBSD: agp.c,v 1.22 2008/06/25 18:54:06 oga Exp $ */ /*- * Copyright (c) 2000 Doug Rabson * All rights reserved. @@ -91,6 +91,7 @@ const struct agp_product agp_products[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82Q965_HB, agp_i810_attach }, { 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 }, #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 9bf30ef4e15..4a0af97dc35 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.37 2008/06/11 17:21:46 matthieu Exp $ */ +/* $OpenBSD: agp_i810.c,v 1.38 2008/06/25 18:54:06 oga Exp $ */ /* $NetBSD: agp_i810.c,v 1.15 2003/01/31 00:07:39 thorpej Exp $ */ /*- @@ -147,6 +147,8 @@ agp_i810_vgamatch(struct pci_attach_args *pa) case PCI_PRODUCT_INTEL_82GME965_IGD_2: case PCI_PRODUCT_INTEL_82G33_IGD_1: case PCI_PRODUCT_INTEL_82G33_IGD_2: + case PCI_PRODUCT_INTEL_82G35_IGD_1: + case PCI_PRODUCT_INTEL_82G35_IGD_2: return (1); } @@ -222,6 +224,8 @@ agp_i810_attach(struct agp_softc *sc, struct pci_attach_args *pa) case PCI_PRODUCT_INTEL_82GM965_IGD_2: case PCI_PRODUCT_INTEL_82GME965_IGD_1: case PCI_PRODUCT_INTEL_82GME965_IGD_2: + case PCI_PRODUCT_INTEL_82G35_IGD_1: + case PCI_PRODUCT_INTEL_82G35_IGD_2: isc->chiptype = CHIP_I965; break; case PCI_PRODUCT_INTEL_82G33_IGD_1: |