blob: a601bdc1152e7e179713a7ee32f4aa613b4678f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
<table class="head">
<tr>
<td class="head-ltitle">WBWD(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">WBWD(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">wbwd</code> — <span class="Nd">device
driver for Winbond/Nuvoton Super I/O chips watchdog timer</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp">To compile this driver into the kernel, place the following lines
in your kernel configuration file:</p>
<div class="Bd Pp Bd-indent"><code class="Cd">device superio</code>
<br/>
<code class="Cd">device wbwd</code></div>
<p class="Pp">Alternatively, to load the driver as a module at boot time, place
the following line in <a class="Xr">loader.conf(5)</a>:</p>
<div class="Bd Pp Bd-indent Li">
<pre>wbwd_load="YES"</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">wbwd</code> driver provides
<a class="Xr">watchdog(4)</a> support for the watchdog interrupt timer
present on at least the following Super I/O chips:</p>
<ul class="Bl-bullet Bl-compact">
<li>Winbond 83627HF/F/HG/G</li>
<li>Winbond 83627S</li>
<li>Winbond 83697HF</li>
<li>Winbond 83697UG</li>
<li>Winbond 83637HF</li>
<li>Winbond 83627THF</li>
<li>Winbond 83687THF</li>
<li>Winbond 83627EHF</li>
<li>Winbond 83627DHG</li>
<li>Winbond 83627UHG</li>
<li>Winbond 83667HG</li>
<li>Winbond 83627DHG-P</li>
<li>Winbond 83667HG-B</li>
<li>Nuvoton NCT6775</li>
<li>Nuvoton NCT6776</li>
<li>Nuvoton NCT6102</li>
<li>Nuvoton NCT6779</li>
<li>Nuvoton NCT6791</li>
<li>Nuvoton NCT6792</li>
</ul>
</section>
<section class="Sh">
<h1 class="Sh" id="SYSCTL_VARIABLES"><a class="permalink" href="#SYSCTL_VARIABLES">SYSCTL
VARIABLES</a></h1>
<p class="Pp">The <code class="Nm">wbwd</code> driver provides the following
options as <a class="Xr">sysctl(8)</a> variables.</p>
<dl class="Bl-tag">
<dt id="dev.wbwd.0.timeout_override"><var class="Va">dev.wbwd.0.timeout_override</var></dt>
<dd>This variable allows to program the timer to a value independent on the
one provided by the <a class="Xr">watchdog(4)</a> framework while still
relying on the regular updates from e.g. <a class="Xr">watchdogd(8)</a>.
This is particularly useful if your system provides multiple watchdogs and
you want them to fire in a special sequence to trigger an NMI after a
shorter period than the reset timeout for example. The value set must not
be lower than the sleep time of <a class="Xr">watchdogd(8)</a>. A value of
0 disables this feature and the timeout value provided by
<a class="Xr">watchdog(4)</a> will be used.</dd>
<dt id="dev.wbwd.0.debug_verbose"><var class="Va">dev.wbwd.0.debug_verbose</var></dt>
<dd>If set this sysctl will tell the driver to log its current state before
and after the timer reset on each invocation from
<a class="Xr">watchdog(9)</a> to the kernel message buffer for
debugging.</dd>
<dt id="dev.wbwd.0.debug"><var class="Va">dev.wbwd.0.debug</var></dt>
<dd>This read-only value gives the state of some registers on last
update.</dd>
</dl>
<p class="Pp">The <code class="Nm">wbwd</code> driver also provides further
sysctl options that are hidden by default. See the source code for more
information.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">superio(4)</a>, <a class="Xr">watchdog(4)</a>,
<a class="Xr">device.hints(5)</a>, <a class="Xr">watchdog(8)</a>,
<a class="Xr">watchdogd(8)</a>, <a class="Xr">watchdog(9)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">wbwd</code> driver first appeared in
<span class="Ux">FreeBSD 10.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">This manual page was written by <span class="An">Bjoern A.
Zeeb</span>
<<a class="Mt" href="mailto:bz@FreeBSD.org">bz@FreeBSD.org</a>>.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">October 16, 2019</td>
<td class="foot-os">FreeBSD 15.0</td>
</tr>
</table>
|