PR/37201 - Yasushi Oshima -- Intel 82965G chipset support

This commit is contained in:
jnemeth 2007-10-30 12:20:03 +00:00
parent 5afd2ed88c
commit d7d1da9b0d
3 changed files with 13 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pchb.c,v 1.1 2007/10/26 21:49:52 xtraeme Exp $ */
/* $NetBSD: pchb.c,v 1.2 2007/10/30 12:20:03 jnemeth Exp $ */
/*-
* Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.1 2007/10/26 21:49:52 xtraeme Exp $");
__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.2 2007/10/30 12:20:03 jnemeth Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -324,6 +324,7 @@ pchbattach(struct device *parent, struct device *self, void *aux)
case PCI_PRODUCT_INTEL_82945P_MCH:
case PCI_PRODUCT_INTEL_82945GM_HB:
case PCI_PRODUCT_INTEL_82965Q_HB:
case PCI_PRODUCT_INTEL_82965G_HB:
/*
* The host bridge is either in GFX mode (internal
* graphics) or in AGP mode. In GFX mode, we pretend

View File

@ -1,4 +1,4 @@
/* $NetBSD: agp.c,v 1.49 2007/10/19 12:00:38 ad Exp $ */
/* $NetBSD: agp.c,v 1.50 2007/10/30 12:22:53 jnemeth Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@ -65,7 +65,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.49 2007/10/19 12:00:38 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.50 2007/10/30 12:22:53 jnemeth Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -157,6 +157,8 @@ const struct agp_product {
NULL, agp_i810_attach },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82965Q_HB,
NULL, agp_i810_attach },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82965G_HB,
NULL, agp_i810_attach },
#endif
#if NAGP_INTEL > 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: agp_i810.c,v 1.43 2007/10/19 12:00:39 ad Exp $ */
/* $NetBSD: agp_i810.c,v 1.44 2007/10/30 12:22:54 jnemeth Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.43 2007/10/19 12:00:39 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.44 2007/10/30 12:22:54 jnemeth Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -149,6 +149,8 @@ agp_i810_vgamatch(struct pci_attach_args *pa)
case PCI_PRODUCT_INTEL_82945GM_IGD_1:
case PCI_PRODUCT_INTEL_82965Q_IGD:
case PCI_PRODUCT_INTEL_82965Q_IGD_1:
case PCI_PRODUCT_INTEL_82965G_IGD:
case PCI_PRODUCT_INTEL_82965G_IGD_1:
return (1);
}
@ -233,6 +235,8 @@ agp_i810_attach(struct device *parent, struct device *self, void *aux)
break;
case PCI_PRODUCT_INTEL_82965Q_IGD:
case PCI_PRODUCT_INTEL_82965Q_IGD_1:
case PCI_PRODUCT_INTEL_82965G_IGD:
case PCI_PRODUCT_INTEL_82965G_IGD_1:
isc->chiptype = CHIP_I965;
break;
}