summaryrefslogtreecommitdiff
path: root/sys/dev/pci/agp_i810.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-06-25 18:54:07 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-06-25 18:54:07 +0000
commitc2d7eefaed6e79700d108fc23ad79d240836de16 (patch)
tree62b2ab64b9e1e8e3b2c9b7829e519ed68d7cc907 /sys/dev/pci/agp_i810.c
parentb52c1e0569b6404fa06f234919c30a954dc36dba (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/agp_i810.c')
-rw-r--r--sys/dev/pci/agp_i810.c6
1 files changed, 5 insertions, 1 deletions
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: