svn commit: r202770 - stable/7/share/man/man4

Christian Brueffer brueffer at FreeBSD.org
Thu Jan 21 21:12:37 UTC 2010


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 <turutani at scphys.kyoto-u.ac.jp>

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 at FreeBSD.org
+.An Norikatsu Shigemura Aq nork at FreeBSD.org


More information about the svn-src-stable-7 mailing list