Thu Jan 25 10:48:28 2018 UTC ()
New sentence - new line.  Sort sections.  Use .Xr to refer to amdtemp(4).


(uwe)
diff -r1.4 -r1.5 src/share/man/man4/man4.x86/amdzentemp.4

cvs diff -r1.4 -r1.5 src/share/man/man4/man4.x86/amdzentemp.4 (expand / switch to unified diff)

--- src/share/man/man4/man4.x86/amdzentemp.4 2018/01/25 10:28:57 1.4
+++ src/share/man/man4/man4.x86/amdzentemp.4 2018/01/25 10:48:27 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: amdzentemp.4,v 1.4 2018/01/25 10:28:57 pgoyette Exp $ 1.\" $NetBSD: amdzentemp.4,v 1.5 2018/01/25 10:48:27 uwe Exp $
2.\"- 2.\"-
3.\" Copyright (c) 2008 Christoph Egger 3.\" Copyright (c) 2008 Christoph Egger
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 14.\"
@@ -30,71 +30,71 @@ @@ -30,71 +30,71 @@
30.Dt AMDZENTEMP 4 x86 30.Dt AMDZENTEMP 4 x86
31.Os 31.Os
32.Sh NAME 32.Sh NAME
33.Nm amdzentemp 33.Nm amdzentemp
34.Nd AMD Zen CPU family on-die digital thermal sensor 34.Nd AMD Zen CPU family on-die digital thermal sensor
35.Sh SYNOPSIS 35.Sh SYNOPSIS
36.Cd "amdzentemp* at amdsmn?" 36.Cd "amdzentemp* at amdsmn?"
37.Sh DESCRIPTION 37.Sh DESCRIPTION
38The 38The
39.Nm 39.Nm
40driver provides support for the on-die digital thermal sensor present 40driver provides support for the on-die digital thermal sensor present
41on AMD Ryzen CPUs 41on AMD Ryzen CPUs
42.Pp 42.Pp
43These sensors provide 0.125\(deC accuracy. There is one sensor for each 43These sensors provide 0.125\(deC accuracy.
44CPU socket. 44There is one sensor for each CPU socket.
45.Pp 45.Pp
46The 46The
47.Nm 47.Nm
48driver reports temperatures through the 48driver reports temperatures through the
49.Xr envsys 4 49.Xr envsys 4
50API. 50API.
51.Bl -column "CPUN sensor0" "Units" "Typical Use" -offset indent 51.Bl -column "CPUN sensor0" "Units" "Typical Use" -offset indent
52.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" 52.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
53.It CPU Ns Em N No sensor0 Ta \(*mK Ta cpu Ns Em N No temperature 53.It CPU Ns Em N No sensor0 Ta \(*mK Ta cpu Ns Em N No temperature
54.El 54.El
55.Sh SEE ALSO 55.Sh SEE ALSO
56.Xr amdtemp 4 , 56.Xr amdtemp 4 ,
57.Xr envsys 4 , 57.Xr envsys 4 ,
58.Xr envstat 8 , 58.Xr envstat 8 ,
59.Xr powerd 8 59.Xr powerd 8
60.Sh BUGS 
61The temperature reading provided to 
62.Xr envsys 4 
63needs to have a CPU-dependent offset applied. 
64For Ryzen X processors, the offset is 20\(deC, while for Threadripper 
65processors an offset of 27\(deC is needed. 
66.Pp 
67The sensor has a thermal-trip value which should be retrieved and 
68provided to 
69.Xr envsys 4 
70as the sensors critical-maximum value. 
71.Sh HISTORY 60.Sh HISTORY
72The 61The
73.Nm 62.Nm
74driver first appeared in 63driver first appeared in
75.Ox 4.4 64.Ox 4.4
76named 65named
77.Dq kate . 66.Dq kate .
78It was then ported to 67It was then ported to
79.Nx 5.0 68.Nx 5.0
80under the name 69under the name
81.Dq amdtemp . 70.Xr amdtemp 4 .
82The 71The
83.Fx 72.Fx
84version of the driver was updated with support for newer AMD CPUs. 73version of the driver was updated with support for newer AMD CPUs.
85For 74For
86.Nx , 75.Nx ,
87the support for the newer CPUs was separated into its own 76the support for the newer CPUs was separated into its own
88.Nm 77.Nm
89driver. 78driver.
90.Sh AUTHORS 79.Sh AUTHORS
91.An -nosplit 80.An -nosplit
92The 81The
93.Nm 82.Nm
94driver was written by 83driver was written by
95.An Constantine A. Murenin Aq Mt cnst@openbsd.org 84.An Constantine A. Murenin Aq Mt cnst@openbsd.org
96whilst at the University of Waterloo. 85whilst at the University of Waterloo.
97Porting of support for the newer AMD CPUs from 86Porting of support for the newer AMD CPUs from
98.Fx 87.Fx
99was provided by 88was provided by
100.An Ian Clark . 89.An Ian Clark .
 90.Sh BUGS
 91The temperature reading provided to
 92.Xr envsys 4
 93needs to have a CPU-dependent offset applied.
 94For Ryzen X processors, the offset is 20\(deC, while for Threadripper
 95processors an offset of 27\(deC is needed.
 96.Pp
 97The sensor has a thermal-trip value which should be retrieved and
 98provided to
 99.Xr envsys 4
 100as the sensors critical-maximum value.