Module Name: src Committed By: christos Date: Thu Jan 25 01:25:39 UTC 2018
Modified Files: src/share/man/man4/man4.x86: Makefile Added Files: src/share/man/man4/man4.x86: amdsmn.4 amdzentemp.4 Log Message: man pages for amdsmn and amdzentemp To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/share/man/man4/man4.x86/Makefile cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.x86/amdsmn.4 \ src/share/man/man4/man4.x86/amdzentemp.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/man4.x86/Makefile diff -u src/share/man/man4/man4.x86/Makefile:1.16 src/share/man/man4/man4.x86/Makefile:1.17 --- src/share/man/man4/man4.x86/Makefile:1.16 Sun May 3 22:43:18 2015 +++ src/share/man/man4/man4.x86/Makefile Wed Jan 24 20:25:39 2018 @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.16 2015/05/04 02:43:18 pgoyette Exp $ +# $NetBSD: Makefile,v 1.17 2018/01/25 01:25:39 christos Exp $ MAN= amdpcib.4 apic.4 balloon.4 coretemp.4 est.4 fdc.4 \ fwhrng.4 hpet.4 ichlpcib.4 lpt.4 mem.4 odcm.4 powernow.4 \ - soekrisgpio.4 tco.4 tprof_amdpmi.4 tprof_pmi.4 vmt.4 vmx.4 + soekrisgpio.4 tco.4 tprof_amdpmi.4 tprof_pmi.4 vmt.4 vmx.4 \ + amdsmn.4 amdzentemp.4 MLINKS+=apic.4 ioapic.4 \ apic.4 lapic.4 Added files: Index: src/share/man/man4/man4.x86/amdsmn.4 diff -u /dev/null src/share/man/man4/man4.x86/amdsmn.4:1.1 --- /dev/null Wed Jan 24 20:25:39 2018 +++ src/share/man/man4/man4.x86/amdsmn.4 Wed Jan 24 20:25:39 2018 @@ -0,0 +1,90 @@ +.\" $NetBSD: amdsmn.4,v 1.1 2018/01/25 01:25:39 christos Exp $ +.\" +.\" Copyright (c) 2018 Ian Clark <mrroos...@gmail.com> +.\" All rights reserved. +.\" +.\" This code is derived from the FreeBSD amdsmn driver by +.\" Conrad Meyer <c...@freebsd.org> +.\" +.\" 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. +.\" +.\"- +.\" Copyright (c) 2017 Conrad Meyer <c...@freebsd.org> +.\" 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: head/share/man/man4/amdsmn.4 323184 2017-09-05 15:13:41Z cem $ +.\" +.Dd January 22, 2018 +.Dt AMDSMN 4 x86 +.Os +.Sh NAME +.Nm amdsmn +.Nd device driver for +.Tn AMD +processor System Management Network +.Sh SYNOPSIS +.Cd "amdsmn* at pci?" +.Sh DESCRIPTION +The +.Nm +driver provides support for resources on the System Management Network bus +in +.Tn AMD +Family 17h processors. +.Sh SEE ALSO +.Xr amdtemp 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx . + +.Sh AUTHORS +Based on the +.Fx +driver by +.An Conrad Meyer . +It was adapted to +.Nx +by +.An Ian Clark . Index: src/share/man/man4/man4.x86/amdzentemp.4 diff -u /dev/null src/share/man/man4/man4.x86/amdzentemp.4:1.1 --- /dev/null Wed Jan 24 20:25:39 2018 +++ src/share/man/man4/man4.x86/amdzentemp.4 Wed Jan 24 20:25:39 2018 @@ -0,0 +1,76 @@ +.\" $NetBSD: amdzentemp.4,v 1.1 2018/01/25 01:25:39 christos Exp $ +.\"- +.\" Copyright (c) 2008 Christoph Egger +.\" 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: src/share/man/man4/coretemp.4,v 1.4 2007/10/15 20:00:19 netchild Exp $ +.\" +.Dd January 24, 2018 +.Dt AMDTEMP 4 x86 +.Os +.Sh NAME +.Nm amdzentemp +.Nd AMD Zen CPU family on-die digital thermal sensor +.Sh SYNOPSIS +.Cd "amdzentemp* at amdsmn?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the on-die digital thermal sensor present +on AMD Ryzen CPUs +.Pp +These sensors provide 0.125 degC accuracy. There is one sensor for each +CPU socket. +.Pp +The +.Nm +driver reports temperatures through the +.Xr envsys 4 +API. +.Bl -column "Sensor " "Units" "Typical" -offset indent +.It Sy "Sensor " Ta Sy "Units" Ta Sy "Typical Use" +.It Li "CPUN sensor0" Ta "uK" Ta "cpuN temperature" +.El +.Sh SEE ALSO +.Xr amdtemp 4 , +.Xr envsys 4 , +.Xr envstat 8 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.4 +named +.Dq kate . +It was then ported to +.Nx 5.0 . +The driver has been renamed with support for newer AMD CPUs. +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Constantine A. Murenin Aq Mt c...@openbsd.org +whilst at the University of Waterloo.