Source-Changes-HG archive

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

[src/netbsd-6]: src Pull up following revision(s) (requested by nonaka):



details:   https://anonhg.NetBSD.org/src/rev/d3ac1ba94e54
branches:  netbsd-6
changeset: 773904:d3ac1ba94e54
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Mar 08 17:38:03 2012 +0000

description:
Pull up following revision(s) (requested by nonaka):
        share/man/man4/amdtemp.4: revision 1.6
        share/man/man4/amdtemp.4: revision 1.7
        sys/arch/x86/pci/amdtemp.c: revision 1.13
Added Family 12h support.
Mention AMD Fusion.
Bump date for previous.

diffstat:

 share/man/man4/amdtemp.4   |  10 +++++-----
 sys/arch/x86/pci/amdtemp.c |  11 +++++++----
 2 files changed, 12 insertions(+), 9 deletions(-)

diffs (91 lines):

diff -r 2415cc264799 -r d3ac1ba94e54 share/man/man4/amdtemp.4
--- a/share/man/man4/amdtemp.4  Thu Mar 08 17:35:12 2012 +0000
+++ b/share/man/man4/amdtemp.4  Thu Mar 08 17:38:03 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: amdtemp.4,v 1.5 2011/08/18 20:55:21 jakllsch Exp $
+.\" $NetBSD: amdtemp.4,v 1.5.4.1 2012/03/08 17:38:03 riz Exp $
 .\"-
 .\" Copyright (c) 2008 Christoph Egger
 .\" All rights reserved.
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD: src/share/man/man4/coretemp.4,v 1.4 2007/10/15 20:00:19 netchild Exp $
 .\"
-.Dd August 18, 2011
+.Dd March 2, 2012
 .Dt AMDTEMP 4
 .Os
 .Sh NAME
@@ -38,7 +38,7 @@
 The
 .Nm
 driver provides support for the on-die digital thermal sensor present
-on AMD K8, AMD Barcelona, AMD Phenoms, and AMD Griffin CPUs.
+on AMD K8, AMD Barcelona, AMD Phenom, AMD Griffin, and AMD Fusion CPUs.
 .Pp
 These sensors were officially introduced in AMD K8 Revision F processors,
 and provide 0.5 degC accuracy.
@@ -47,8 +47,8 @@
 Each core
 has two temperature sensors, and there are up to two cores per CPU socket.
 .Pp
-AMD Barcelona, AMD Phenom, and AMD Griffin provide 0.125 degC accuracy
-and provide one temperature sensor for each CPU socket.
+AMD Barcelona, AMD Phenom, AMD Griffin, and AMD Fusion provide 0.125 degC
+accuracy and provide one temperature sensor for each CPU socket.
 .Pp
 The
 .Nm
diff -r 2415cc264799 -r d3ac1ba94e54 sys/arch/x86/pci/amdtemp.c
--- a/sys/arch/x86/pci/amdtemp.c        Thu Mar 08 17:35:12 2012 +0000
+++ b/sys/arch/x86/pci/amdtemp.c        Thu Mar 08 17:38:03 2012 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: amdtemp.c,v 1.12 2011/07/31 22:04:07 jmcneill Exp $ */
+/*      $NetBSD: amdtemp.c,v 1.12.8.1 2012/03/08 17:38:03 riz Exp $ */
 /*      $OpenBSD: kate.c,v 1.2 2008/03/27 04:52:03 cnst Exp $   */
 
 /*
@@ -48,7 +48,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.12 2011/07/31 22:04:07 jmcneill Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.12.8.1 2012/03/08 17:38:03 riz Exp $ ");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -196,7 +196,7 @@
        case PCI_PRODUCT_AMD_AMD64_MISC:
        case PCI_PRODUCT_AMD_AMD64_F10_MISC:
        case PCI_PRODUCT_AMD_AMD64_F11_MISC:
-       case PCI_PRODUCT_AMD_F14_NB:
+       case PCI_PRODUCT_AMD_F14_NB:    /* Family12h too */
                break;
        default:
                return 0;
@@ -268,7 +268,8 @@
 
        case 0x10: /* AMD Barcelona/Phenom */
        case 0x11: /* AMD Griffin */
-       case 0x14: /* AMD Fusion */
+       case 0x12: /* AMD Lynx/Sabine (Llano) */
+       case 0x14: /* AMD Brazos (Ontario/Zacate/Desna) */
                amdtemp_family10_init(sc);
                break;
 
@@ -296,6 +297,7 @@
                break;
        case 0x10:
        case 0x11:
+       case 0x12:
        case 0x14:
                amdtemp_family10_setup_sensors(sc, device_unit(self));
                break;
@@ -322,6 +324,7 @@
                break;
        case 0x10:
        case 0x11:
+       case 0x12:
        case 0x14:
                sc->sc_sme->sme_refresh = amdtemp_family10_refresh;
                break;



Home | Main Index | Thread Index | Old Index