Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Add Intel Pineview support



details:   https://anonhg.NetBSD.org/src/rev/6964aa635eb8
branches:  trunk
changeset: 762647:6964aa635eb8
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Feb 24 20:01:53 2011 +0000

description:
Add Intel Pineview support

diffstat:

 sys/arch/x86/pci/pchb.c |  6 ++++--
 sys/dev/pci/agp.c       |  8 ++++++--
 sys/dev/pci/agp_i810.c  |  8 ++++++--
 3 files changed, 16 insertions(+), 6 deletions(-)

diffs (92 lines):

diff -r 3fb47b25d69e -r 6964aa635eb8 sys/arch/x86/pci/pchb.c
--- a/sys/arch/x86/pci/pchb.c   Thu Feb 24 20:01:26 2011 +0000
+++ b/sys/arch/x86/pci/pchb.c   Thu Feb 24 20:01:53 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pchb.c,v 1.23 2010/07/23 00:43:21 jakllsch Exp $ */
+/*     $NetBSD: pchb.c,v 1.24 2011/02/24 20:02:20 matt 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.23 2010/07/23 00:43:21 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.24 2011/02/24 20:02:20 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -394,6 +394,8 @@
                case PCI_PRODUCT_INTEL_IRONLAKE_M_HB:
                case PCI_PRODUCT_INTEL_IRONLAKE_MA_HB:
                case PCI_PRODUCT_INTEL_IRONLAKE_MC2_HB:
+               case PCI_PRODUCT_INTEL_PINEVIEW_HB:
+               case PCI_PRODUCT_INTEL_PINEVIEW_M_HB:
                        /*
                         * The host bridge is either in GFX mode (internal
                         * graphics) or in AGP mode. In GFX mode, we pretend
diff -r 3fb47b25d69e -r 6964aa635eb8 sys/dev/pci/agp.c
--- a/sys/dev/pci/agp.c Thu Feb 24 20:01:26 2011 +0000
+++ b/sys/dev/pci/agp.c Thu Feb 24 20:01:53 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp.c,v 1.77 2011/02/15 08:57:01 jmcneill Exp $        */
+/*     $NetBSD: agp.c,v 1.78 2011/02/24 20:01:53 matt Exp $    */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -65,7 +65,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.77 2011/02/15 08:57:01 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.78 2011/02/24 20:01:53 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -210,6 +210,10 @@
          NULL,                 agp_i810_attach },
        { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_IRONLAKE_MC2_HB,
          NULL,                 agp_i810_attach },
+       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_PINEVIEW_HB,
+         NULL,                 agp_i810_attach },
+       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_PINEVIEW_M_HB,
+         NULL,                 agp_i810_attach },
 #endif
 
 #if NAGP_INTEL > 0
diff -r 3fb47b25d69e -r 6964aa635eb8 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Thu Feb 24 20:01:26 2011 +0000
+++ b/sys/dev/pci/agp_i810.c    Thu Feb 24 20:01:53 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_i810.c,v 1.71 2011/01/30 23:43:08 gsutre Exp $     */
+/*     $NetBSD: agp_i810.c,v 1.72 2011/02/24 20:01:53 matt Exp $       */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.71 2011/01/30 23:43:08 gsutre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.72 2011/02/24 20:01:53 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -220,6 +220,8 @@
        case PCI_PRODUCT_INTEL_82B43_IGD:
        case PCI_PRODUCT_INTEL_IRONLAKE_D_IGD:
        case PCI_PRODUCT_INTEL_IRONLAKE_M_IGD:
+       case PCI_PRODUCT_INTEL_PINEVIEW_IGD:
+       case PCI_PRODUCT_INTEL_PINEVIEW_M_IGD:
                return (1);
        }
 
@@ -304,6 +306,8 @@
        case PCI_PRODUCT_INTEL_82945GM_IGD_1:
        case PCI_PRODUCT_INTEL_82945GME_IGD:
        case PCI_PRODUCT_INTEL_E7221_IGD:
+       case PCI_PRODUCT_INTEL_PINEVIEW_IGD:
+       case PCI_PRODUCT_INTEL_PINEVIEW_M_IGD:
                isc->chiptype = CHIP_I915;
                break;
        case PCI_PRODUCT_INTEL_82965Q_IGD:



Home | Main Index | Thread Index | Old Index