AGP support for Intel 945GME chipset, found on Acer Aspire One. trunk
authortnn <tnn@NetBSD.org>
Fri, 22 Aug 2008 18:05:44 +0000
branchtrunk
changeset 172561 b227b3d4b6f1
parent 172560 01b7350011fe
child 172562 57bcd0ce532d
AGP support for Intel 945GME chipset, found on Acer Aspire One.
sys/arch/x86/pci/pchb.c
sys/dev/pci/agp.c
sys/dev/pci/agp_i810.c
--- a/sys/arch/x86/pci/pchb.c	Fri Aug 22 17:44:14 2008 +0000
+++ b/sys/arch/x86/pci/pchb.c	Fri Aug 22 18:05:44 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: pchb.c,v 1.13 2008/08/19 10:05:40 matthias Exp $ */
+/*	$NetBSD: pchb.c,v 1.14 2008/08/22 18:05:44 tnn Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.13 2008/08/19 10:05:40 matthias Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.14 2008/08/22 18:05:44 tnn Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -374,6 +374,7 @@
 		case PCI_PRODUCT_INTEL_82915GM_HB:
 		case PCI_PRODUCT_INTEL_82945P_MCH:
 		case PCI_PRODUCT_INTEL_82945GM_HB:
+		case PCI_PRODUCT_INTEL_82945GME_HB:
 		case PCI_PRODUCT_INTEL_82946GZ_HB:
 		case PCI_PRODUCT_INTEL_82965Q_HB:
 		case PCI_PRODUCT_INTEL_82965G_HB:
--- a/sys/dev/pci/agp.c	Fri Aug 22 17:44:14 2008 +0000
+++ b/sys/dev/pci/agp.c	Fri Aug 22 18:05:44 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: agp.c,v 1.60 2008/08/19 09:59:54 matthias Exp $	*/
+/*	$NetBSD: agp.c,v 1.61 2008/08/22 18:05:44 tnn Exp $	*/
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -65,7 +65,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.60 2008/08/19 09:59:54 matthias Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.61 2008/08/22 18:05:44 tnn Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -166,6 +166,8 @@
 	  NULL,			agp_i810_attach },
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82945GM_HB,
 	  NULL,			agp_i810_attach },
+	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82945GME_HB,
+	  NULL,			agp_i810_attach },
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82965Q_HB,
 	  NULL,			agp_i810_attach },
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82965PM_HB,
--- a/sys/dev/pci/agp_i810.c	Fri Aug 22 17:44:14 2008 +0000
+++ b/sys/dev/pci/agp_i810.c	Fri Aug 22 18:05:44 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: agp_i810.c,v 1.55 2008/08/19 09:59:54 matthias Exp $	*/
+/*	$NetBSD: agp_i810.c,v 1.56 2008/08/22 18:05:44 tnn Exp $	*/
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.55 2008/08/19 09:59:54 matthias Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.56 2008/08/22 18:05:44 tnn Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -77,7 +77,7 @@
 #define CHIP_I810 0	/* i810/i815 */
 #define CHIP_I830 1	/* 830M/845G */
 #define CHIP_I855 2	/* 852GM/855GM/865G */
-#define CHIP_I915 3	/* 915G/915GM/945G/945GM */
+#define CHIP_I915 3	/* 915G/915GM/945G/945GM/945GME */
 #define CHIP_I965 4	/* 965Q/965PM */
 #define CHIP_G33  5	/* G33/Q33/Q35 */
 
@@ -154,6 +154,7 @@
 	case PCI_PRODUCT_INTEL_82945P_IGD:
 	case PCI_PRODUCT_INTEL_82945GM_IGD:
 	case PCI_PRODUCT_INTEL_82945GM_IGD_1:
+	case PCI_PRODUCT_INTEL_82945GME_IGD:
 	case PCI_PRODUCT_INTEL_82965Q_IGD:
 	case PCI_PRODUCT_INTEL_82965Q_IGD_1:
 	case PCI_PRODUCT_INTEL_82965PM_IGD:
@@ -248,6 +249,7 @@
 	case PCI_PRODUCT_INTEL_82945P_IGD:
 	case PCI_PRODUCT_INTEL_82945GM_IGD:
 	case PCI_PRODUCT_INTEL_82945GM_IGD_1:
+	case PCI_PRODUCT_INTEL_82945GME_IGD:
 		isc->chiptype = CHIP_I915;
 		break;
 	case PCI_PRODUCT_INTEL_82965Q_IGD: