svn commit: r354350 - in stable/12: share/man/man4 sys/amd64/conf sys/conf sys/dev/itwd sys/i386/conf sys/modules/itwd
Andriy Gapon
avg at FreeBSD.org
Tue Nov 5 06:55:11 UTC 2019
Author: avg
Date: Tue Nov 5 06:55:09 2019
New Revision: 354350
URL: https://svnweb.freebsd.org/changeset/base/354350
Log:
MFC r353647: itwd(4): driver for watchdog function in ITE Super I/O chips
This branch does not have files.x86, so the driver is added to
files.{amd64,i386}.
Added:
stable/12/share/man/man4/itwd.4
- copied unchanged from r353647, head/share/man/man4/itwd.4
stable/12/sys/dev/itwd/
- copied from r353647, head/sys/dev/itwd/
stable/12/sys/modules/itwd/
- copied from r353647, head/sys/modules/itwd/
Modified:
stable/12/share/man/man4/Makefile
stable/12/sys/amd64/conf/NOTES
stable/12/sys/conf/files.amd64
stable/12/sys/conf/files.i386
stable/12/sys/i386/conf/NOTES
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/share/man/man4/Makefile
==============================================================================
--- stable/12/share/man/man4/Makefile Tue Nov 5 06:34:20 2019 (r354349)
+++ stable/12/share/man/man4/Makefile Tue Nov 5 06:55:09 2019 (r354350)
@@ -236,6 +236,7 @@ MAN= aac.4 \
ismt.4 \
isp.4 \
ispfw.4 \
+ ${_itwd.4} \
iwi.4 \
iwifw.4 \
iwm.4 \
@@ -819,6 +820,7 @@ _if_wpi.4= if_wpi.4
_imcsmb.4= imcsmb.4
_ipmi.4= ipmi.4
_io.4= io.4
+_itwd.4= itwd.4
_linux.4= linux.4
_nda.4= nda.4
_ndis.4= ndis.4
Copied: stable/12/share/man/man4/itwd.4 (from r353647, head/share/man/man4/itwd.4)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/12/share/man/man4/itwd.4 Tue Nov 5 06:55:09 2019 (r354350, copy of r353647, head/share/man/man4/itwd.4)
@@ -0,0 +1,75 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+.\"
+.\" Copyright (c) 2012 Bjoern A. Zeeb <bz at FreeBSD.org>
+.\" Copyright (c) 2019 Andriy Gapon <avg at 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.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd October 16, 2019
+.Dt ITWD 4
+.Os
+.Sh NAME
+.Nm itwd
+.Nd device driver for ITE Super I/O chips watchdog timer
+.Sh SYNOPSIS
+To compile this driver into the kernel, place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device superio"
+.Cd "device itwd"
+.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
+itwd_load="YES"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver provides
+.Xr watchdog 4
+support for the watchdog timer present on at least the following
+Super I/O chips:
+.Bl -bullet -compact
+.It
+IT8721F
+.It
+IT8728F
+.It
+IT8771F
+.El
+.Sh SEE ALSO
+.Xr superio 4
+.Xr watchdog 4 ,
+.Xr device.hints 5 ,
+.Xr watchdog 8 ,
+.Xr watchdogd 8 ,
+.Xr watchdog 9
+.Sh AUTHORS
+.An -nosplit
+This manual page was written by
+.An Andriy Gapon Aq Mt avg at FreeBSD.org .
Modified: stable/12/sys/amd64/conf/NOTES
==============================================================================
--- stable/12/sys/amd64/conf/NOTES Tue Nov 5 06:34:20 2019 (r354349)
+++ stable/12/sys/amd64/conf/NOTES Tue Nov 5 06:55:09 2019 (r354350)
@@ -572,11 +572,13 @@ device ioat # Intel I/OAT DMA engine
# amdsbwd: AMD SB7xx watchdog timer
# viawd: VIA south bridge watchdog timer
# wbwd: Winbond watchdog timer
+# itwd: ITE Super I/O watchdog timer
#
device ichwd
device amdsbwd
device viawd
device wbwd
+device itwd
#
# Temperature sensors:
Modified: stable/12/sys/conf/files.amd64
==============================================================================
--- stable/12/sys/conf/files.amd64 Tue Nov 5 06:34:20 2019 (r354349)
+++ stable/12/sys/conf/files.amd64 Tue Nov 5 06:55:09 2019 (r354350)
@@ -268,6 +268,7 @@ dev/ipmi/ipmi_smbios.c optional ipmi
dev/ipmi/ipmi_ssif.c optional ipmi smbus
dev/ipmi/ipmi_pci.c optional ipmi pci
dev/ipmi/ipmi_linux.c optional ipmi compat_linux32
+dev/itwd/itwd.c optional itwd
dev/ixl/if_ixl.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/ixl_pf_main.c optional ixl pci \
Modified: stable/12/sys/conf/files.i386
==============================================================================
--- stable/12/sys/conf/files.i386 Tue Nov 5 06:34:20 2019 (r354349)
+++ stable/12/sys/conf/files.i386 Tue Nov 5 06:55:09 2019 (r354350)
@@ -282,6 +282,7 @@ dev/ipmi/ipmi_smbios.c optional ipmi
dev/ipmi/ipmi_ssif.c optional ipmi smbus
dev/ipmi/ipmi_pci.c optional ipmi pci
dev/ipmi/ipmi_linux.c optional ipmi compat_linux
+dev/itwd/itwd.c optional itwd
dev/le/if_le_isa.c optional le isa
dev/mse/mse.c optional mse
dev/mse/mse_isa.c optional mse isa
Modified: stable/12/sys/i386/conf/NOTES
==============================================================================
--- stable/12/sys/i386/conf/NOTES Tue Nov 5 06:34:20 2019 (r354349)
+++ stable/12/sys/i386/conf/NOTES Tue Nov 5 06:55:09 2019 (r354350)
@@ -856,11 +856,13 @@ hint.pcf.0.irq="5"
# amdsbwd: AMD SB7xx watchdog timer
# viawd: VIA south bridge watchdog timer
# wbwd: Winbond watchdog timer
+# itwd: ITE Super I/O watchdog timer
#
device ichwd
device amdsbwd
device viawd
device wbwd
+device itwd
#
# Temperature sensors:
More information about the svn-src-stable-12
mailing list