Support for Intel G35 as found on Asus P5E-VM HDMI motherboard from trunk
authorchristos <christos@NetBSD.org>
Sat, 08 Nov 2008 17:26:28 +0000
branchtrunk
changeset 174882 2c42b1b42c97
parent 174881 4b00e78a1bcc
child 174883 efd9c5220ba3
Support for Intel G35 as found on Asus P5E-VM HDMI motherboard from Milos Negovanovic
sys/arch/x86/pci/pchb.c
sys/dev/pci/agp.c
sys/dev/pci/agp_i810.c
sys/dev/pci/pcidevs
--- a/sys/arch/x86/pci/pchb.c	Sat Nov 08 17:11:56 2008 +0000
+++ b/sys/arch/x86/pci/pchb.c	Sat Nov 08 17:26:28 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: pchb.c,v 1.14 2008/08/22 18:05:44 tnn Exp $ */
+/*	$NetBSD: pchb.c,v 1.15 2008/11/08 17:26:28 christos 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.14 2008/08/22 18:05:44 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.15 2008/11/08 17:26:28 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -382,6 +382,7 @@
 		case PCI_PRODUCT_INTEL_82Q35_HB:
 		case PCI_PRODUCT_INTEL_82G33_HB:
 		case PCI_PRODUCT_INTEL_82Q33_HB:
+		case PCI_PRODUCT_INTEL_82G35_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	Sat Nov 08 17:11:56 2008 +0000
+++ b/sys/dev/pci/agp.c	Sat Nov 08 17:26:28 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: agp.c,v 1.62 2008/10/17 17:15:09 christos Exp $	*/
+/*	$NetBSD: agp.c,v 1.63 2008/11/08 17:26:28 christos Exp $	*/
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -65,7 +65,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.62 2008/10/17 17:15:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.63 2008/11/08 17:26:28 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -180,6 +180,8 @@
 	  NULL,			agp_i810_attach },
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82Q33_HB,
 	  NULL,			agp_i810_attach },
+	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82G35_HB,
+	  NULL,			agp_i810_attach },
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82946GZ_HB,
 	  NULL,			agp_i810_attach },
 #endif
--- a/sys/dev/pci/agp_i810.c	Sat Nov 08 17:11:56 2008 +0000
+++ b/sys/dev/pci/agp_i810.c	Sat Nov 08 17:26:28 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: agp_i810.c,v 1.56 2008/08/22 18:05:44 tnn Exp $	*/
+/*	$NetBSD: agp_i810.c,v 1.57 2008/11/08 17:26:28 christos Exp $	*/
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.56 2008/08/22 18:05:44 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.57 2008/11/08 17:26:28 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -167,6 +167,8 @@
 	case PCI_PRODUCT_INTEL_82Q35_IGD_1:
 	case PCI_PRODUCT_INTEL_82Q33_IGD:
 	case PCI_PRODUCT_INTEL_82Q33_IGD_1:
+	case PCI_PRODUCT_INTEL_82G35_IGD:
+	case PCI_PRODUCT_INTEL_82G35_IGD_1:
 	case PCI_PRODUCT_INTEL_82946GZ_IGD:
 		return (1);
 	}
@@ -259,6 +261,8 @@
 	case PCI_PRODUCT_INTEL_82965G_IGD:
 	case PCI_PRODUCT_INTEL_82965G_IGD_1:
 	case PCI_PRODUCT_INTEL_82946GZ_IGD:
+	case PCI_PRODUCT_INTEL_82G35_IGD:
+	case PCI_PRODUCT_INTEL_82G35_IGD_1:
 		isc->chiptype = CHIP_I965;
 		break;
 	case PCI_PRODUCT_INTEL_82Q35_IGD:
--- a/sys/dev/pci/pcidevs	Sat Nov 08 17:11:56 2008 +0000
+++ b/sys/dev/pci/pcidevs	Sat Nov 08 17:26:28 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.964 2008/11/04 13:22:29 cegger Exp $
+$NetBSD: pcidevs,v 1.965 2008/11/08 17:26:28 christos Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -2547,6 +2547,9 @@
 product INTEL 82801I_IGP_C	0x294c	82801I (C) LAN Controller
 product INTEL 82946GZ_HB	0x2970	82946GZ Host Bridge
 product INTEL 82946GZ_IGD	0x2972	82946GZ	Integrated Graphics Device
+product INTEL 82G35_HB		0x2980	82G35 Host Bridge
+product INTEL 82G35_IGD		0x2982	82G35 Integrated Graphics Device
+product INTEL 82G35_IGD_1	0x2983	82G35 Integrated Graphics Device
 product INTEL 82965Q_HB		0x2990  82965Q Host Bridge
 product INTEL 82965Q_EXP	0x2991  82965Q PCI Express Bridge
 product INTEL 82965Q_IGD	0x2992  82965Q Integrated Graphics Device