From turutani@scphys.kyoto-u.ac.jp Mon Jan 18 03:25:06 2010 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3465106566C for ; Mon, 18 Jan 2010 03:25:06 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [133.3.248.237]) by mx1.freebsd.org (Postfix) with ESMTP id B0DC68FC17 for ; Mon, 18 Jan 2010 03:25:06 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 271E92EC005; Mon, 18 Jan 2010 12:25:05 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (wd187.BFL38.vectant.ne.jp [210.131.171.187]) by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id 06C932EC001; Mon, 18 Jan 2010 12:25:04 +0900 (JST) Received: from h116.65.226.10.32118.vlan.kuins.net (h116.65.226.10.32118.vlan.kuins.net [192.168.3.116]) by h120.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/20071004-1) with ESMTP id o0I3OdnP078322; Mon, 18 Jan 2010 12:24:44 +0900 (JST) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from h116.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1]) by h116.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/20070718-1) with ESMTP id o0I3OYmk011097; Mon, 18 Jan 2010 12:24:39 +0900 (JST) (envelope-from turutani@h116.65.226.10.32118.vlan.kuins.net) Received: (from root@localhost) by h116.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/Submit) id o0I3OTuN011096; Mon, 18 Jan 2010 12:24:29 +0900 (JST) (envelope-from turutani) Message-Id: <201001180324.o0I3OTuN011096@h116.65.226.10.32118.vlan.kuins.net> Date: Mon, 18 Jan 2010 12:24:29 +0900 (JST) From: Tsurutani Naoki Reply-To: Tsurutani Naoki To: FreeBSD-gnats-submit@freebsd.org Cc: turutani@scphys.kyoto-u.ac.jp Subject: k8temp(4) should be renamed X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 142925 >Category: docs >Synopsis: k8temp(4) should be renamed >Confidential: no >Severity: serious >Priority: medium >Responsible: brueffer >State: closed >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 18 03:30:08 UTC 2010 >Closed-Date: Thu Jan 21 08:36:10 UTC 2010 >Last-Modified: Thu Jan 21 21:20:02 UTC 2010 >Originator: Tsurutani Naoki >Release: FreeBSD 7.2-STABLE amd64 >Organization: >Environment: System: FreeBSD h116.65.226.10.32118.vlan.kuins.net 7.2-STABLE FreeBSD 7.2-STABLE #20: Mon Jun 22 09:33:07 JST 2009 turutani@h116.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER13 amd64 >Description: man page of k8temp(4) tells k8temp.ko exists, but it does not exists, for the name "k8temp" is renamed to "amdtemp" on rev.192654. >How-To-Repeat: >Fix: rename k8temp to amdtemp, and fix the contents. >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: bcr State-Changed-When: Thu Jan 21 08:32:26 UTC 2010 State-Changed-Why: This has already been solved, see docs/137171. Upgrading your sources should replace k8temp(4) with amdtemp(4). Anyway, thanks for filing the PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=142925 Responsible-Changed-From-To: freebsd-doc->brueffer Responsible-Changed-By: brueffer Responsible-Changed-When: Thu Jan 21 22:12:50 CET 2010 Responsible-Changed-Why: I have merged the changes to RELENG_7. Thanks for letting us know! http://www.freebsd.org/cgi/query-pr.cgi?pr=142925 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: docs/142925: commit references a PR Date: Thu, 21 Jan 2010 21:12:57 +0000 (UTC) Author: brueffer Date: Thu Jan 21 21:12:36 2010 New Revision: 202770 URL: http://svn.freebsd.org/changeset/base/202770 Log: MFC: r189773 by rpaulo Rename the k8temp(4) man page to amdtemp(4) and update its contents for the new families. PR: 142925 Submitted by: Tsurutani Naoki Added: stable/7/share/man/man4/amdtemp.4 - copied unchanged from r189773, head/share/man/man4/amdtemp.4 Deleted: stable/7/share/man/man4/k8temp.4 Modified: stable/7/share/man/man4/Makefile Directory Properties: stable/7/share/man/man4/ (props changed) Modified: stable/7/share/man/man4/Makefile ============================================================================== --- stable/7/share/man/man4/Makefile Thu Jan 21 21:04:29 2010 (r202769) +++ stable/7/share/man/man4/Makefile Thu Jan 21 21:12:36 2010 (r202770) @@ -20,6 +20,7 @@ MAN= aac.4 \ ale.4 \ altq.4 \ amd.4 \ + ${_amdtemp.4} \ ${_amdsmb.4} \ amr.4 \ an.4 \ @@ -146,7 +147,6 @@ MAN= aac.4 \ ixgb.4 \ jme.4 \ joy.4 \ - ${_k8temp.4} \ kbdmux.4 \ keyboard.4 \ kld.4 \ @@ -561,6 +561,7 @@ MLINKS+=xl.4 if_xl.4 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" _acpi_dock.4= acpi_dock.4 _amdsmb.4= amdsmb.4 +_amdtemp.4= amdtemp.4 _coretemp.4= coretemp.4 _cpuctl.4= cpuctl.4 _hptiop.4= hptiop.4 @@ -572,7 +573,6 @@ _if_nve.4= if_nve.4 _if_nxge.4= if_nxge.4 _if_wpi.4= if_wpi.4 _ipmi.4= ipmi.4 -_k8temp.4= k8temp.4 _lindev.4= lindev.4 _nfe.4= nfe.4 _nfsmb.4= nfsmb.4 Copied: stable/7/share/man/man4/amdtemp.4 (from r189773, head/share/man/man4/amdtemp.4) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/7/share/man/man4/amdtemp.4 Thu Jan 21 21:12:36 2010 (r202770, copy of r189773, head/share/man/man4/amdtemp.4) @@ -0,0 +1,80 @@ +.\"- +.\" Copyright (c) 2008 Rui Paulo +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd April 8, 2008 +.Dt AMDTEMP 4 +.Os +.Sh NAME +.Nm amdtemp +.Nd device driver for AMD K8, K10 and K11 on-die digital thermal sensor +.Sh SYNOPSIS +To compile this driver into the kernel, +place the following line in your +kernel configuration file: +.Bd -ragged -offset indent +.Cd "device amdtemp" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +amdtemp_load="YES" +.Ed +.Sh DESCRIPTION +The +.Nm +driver provides support for the on-die digital thermal sensor present +in AMD K8, K10 and K11 processors. +.Pp +For the K8 family, the +.Nm +driver reports each cores' temperature through a sysctl node in the +corresponding CPU devices's sysctl tree, named +.Va dev.amdtemp.%d.sensor{0,1}.core{0,1} . +The driver also creates +.Va dev.cpu.%d.temperature +displaying the maximum temperature of the two sensors +located in each CPU core. +.Pp +For the K10 and K11 families, the driver creates +.Va dev.cpu.%d.temperature +with the temperature of each core. +.Sh BUGS +AMD K9 is not supported because temperature reporting has been replaced +by Maltese. +.Sh SEE ALSO +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx 7.1 . +.Sh AUTHORS +.An +.An Rui Paulo Aq rpaulo@FreeBSD.org +.An Norikatsu Shigemura Aq nork@FreeBSD.org _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" >Unformatted: