PR/37201 - Yasushi Oshima -- Intel 82965G chipset support trunk
authorjnemeth <jnemeth@NetBSD.org>
Tue, 30 Oct 2007 12:20:03 +0000
branchtrunk
changeset 162902 c87aaaa83ad5
parent 162901 e16f871c42bc
child 162903 cb0ac582664e
PR/37201 - Yasushi Oshima -- Intel 82965G chipset support
sys/arch/x86/pci/pchb.c
sys/dev/pci/agp.c
sys/dev/pci/agp_i810.c
--- a/sys/arch/x86/pci/pchb.c	Tue Oct 30 12:13:48 2007 +0000
+++ b/sys/arch/x86/pci/pchb.c	Tue Oct 30 12:20:03 2007 +0000
@@ -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 @@
 		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
--- a/sys/dev/pci/agp.c	Tue Oct 30 12:13:48 2007 +0000
+++ b/sys/dev/pci/agp.c	Tue Oct 30 12:20:03 2007 +0000
@@ -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 @@
 	  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
--- a/sys/dev/pci/agp_i810.c	Tue Oct 30 12:13:48 2007 +0000
+++ b/sys/dev/pci/agp_i810.c	Tue Oct 30 12:20:03 2007 +0000
@@ -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 @@
 	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 @@
 		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;
 	}