summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2009-01-23 20:32:23 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2009-01-23 20:32:23 +0000
commitae81bb0fd5d1986ac1ba851c49f86e7aa323b4bc (patch)
treeb1e322ca532cf8bf3b163745d9721e284290fbf2 /share
parent6d54d03573c96c5e760fb506855c9a967178e0b6 (diff)
Add schsio(4), a driver for SMSC SCH311x LPC Super I/O ICs providing
environment sensors. These are found at least on VIA Epia SN18000G boards. Not enabled at 0x162e and 0x164e because probing these may not be safe according to kettenis (guess where my schsio is). Much help from kettenis. Input from const and fgs. ok kettenis
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile5
-rw-r--r--share/man/man4/isa.46
-rw-r--r--share/man/man4/schsio.469
3 files changed, 76 insertions, 4 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index b20cb365e63..c1df61d3afe 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.474 2009/01/16 05:03:52 kevlo Exp $
+# $OpenBSD: Makefile,v 1.475 2009/01/23 20:32:22 mk Exp $
MAN= aac.4 ac97.4 acphy.4 \
acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \
@@ -40,7 +40,8 @@ MAN= aac.4 ac97.4 acphy.4 \
pms.4 ppb.4 ppp.4 pppoe.4 pty.4 puc.4 pwdog.4 qsphy.4 radio.4 raid.4 \
ral.4 random.4 ray.4 rd.4 re.4 rgephy.4 ricohrtc.4 \
rl.4 rlphy.4 route.4 rt.4 rum.4 run.4 \
- rtfps.4 rtii.4 rtw.4 safe.4 safte.4 san.4 sbt.4 sbus.4 scsi.4 sd.4 \
+ rtfps.4 rtii.4 rtw.4 safe.4 safte.4 san.4 sbt.4 sbus.4 schsio.4 \
+ scsi.4 sd.4 \
sdmmc.4 sdhc.4 ses.4 \
sequencer.4 sf.4 sf2r.4 sfr.4 sili.4 siop.4 sis.4 sk.4 sl.4 sli.4 \
sm.4 softraid.4 spdmem.4 sdtemp.4 speaker.4 sppp.4 sqphy.4 \
diff --git a/share/man/man4/isa.4 b/share/man/man4/isa.4
index 797ec4cba3c..1ab1f3d0dcf 100644
--- a/share/man/man4/isa.4
+++ b/share/man/man4/isa.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isa.4,v 1.62 2009/01/16 14:43:00 jmc Exp $
+.\" $OpenBSD: isa.4,v 1.63 2009/01/23 20:32:22 mk Exp $
.\" $NetBSD: isa.4,v 1.19 2000/03/18 16:54:37 augustss Exp $
.\"
.\" Copyright (c) 2000 Theo de Raadt. All rights reserved.
@@ -31,7 +31,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 16 2009 $
+.Dd $Mdocdate: January 23 2009 $
.Dt ISA 4
.Os
.Sh NAME
@@ -200,6 +200,8 @@ temperature, voltage, and fan sensor with watchdog timer
National Semiconductor LM78/79/81 temperature, voltage, and fan sensor
.It Xr nsclpcsio 4
National Semiconductor PC87366 LPC Super I/O with GPIO
+.It Xr schsio 4
+SMSC SCH311x LPC Super I/O
.It Xr viasio 4
VIA VT1211 LPC Super I/O
.It Xr wbsio 4
diff --git a/share/man/man4/schsio.4 b/share/man/man4/schsio.4
new file mode 100644
index 00000000000..4b03d0badea
--- /dev/null
+++ b/share/man/man4/schsio.4
@@ -0,0 +1,69 @@
+.\" $OpenBSD: schsio.4,v 1.1 2009/01/23 20:32:22 mk Exp $
+.\"
+.\" Copyright (c) 2009 Michael Knudsen <mk@openbsd.org>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.Dd $Mdocdate: January 23 2009 $
+.Dt SCHSIO 4
+.Os
+.Sh NAME
+.Nm schsio
+.Nd SMSC SCH311x LPC Super I/O
+.Sh SYNOPSIS
+.Cd "schsio* at isa? port 0x2e flags 0x0000"
+.Cd "schsio* at isa? port 0x4e flags 0x0000"
+.Cd "schsio* at isa? port 0x162e flags 0x0000"
+.Cd "schsio* at isa? port 0x164e flags 0x0000"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the SMSC SCH3112, SCH3114, and SCH3116
+ICs.
+Among other things, the devices contain environment sensors, a watchdog
+timer, and fan control.
+The
+.Nm
+driver currently only supports the environment sensors.
+The hardware provides the following sensors:
+.Bl -column "Internal diode" "Units" "Typical" -offset indent
+.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical use"
+.It Li "Internal diode" Ta "uK" Ta "IC internal thermal diode"
+.It Li "Remote diode 1" Ta "uK" Ta "External thermal diode"
+.It Li "Remove diode 2" Ta "uK" Ta "External thermal diode"
+.It Li "FAN1" Ta "RPM" Ta "Fan tachometer"
+.It Li "FAN2" Ta "RPM" Ta "Fan tachometer"
+.It Li "FAN3" Ta "RPM" Ta "Fan tachometer"
+.It Li "+2.5V" Ta "uV" Ta "Voltage"
+.It Li "+1.5V (Vccp)" Ta "uV" Ta "Voltage"
+.It Li "+3.3V (VCC)" Ta "uV" Ta "Voltage"
+.It Li "+5V" Ta "uV" Ta "Voltage"
+.It Li "+12V" Ta "uV" Ta "Voltage"
+.It Li "+3.3V (VTR)" Ta "uV" Ta "Voltage"
+.It Li "+3V (Vbat)" Ta "uV" Ta "Voltage"
+.El
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr isa 4 ,
+.Xr watchdog 4 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 4.5 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by
+.An Michael Knudsen Aq mk@openbsd.org .