summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-07-28 20:12:14 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-07-28 20:12:14 +0000
commit04bc583ecad4492bd759df4d05ffad33decea50a (patch)
treeb3284639e1f2d5dfd5aaa3110b305ec452264e41 /share
parent6d77a5035c6df4cd7072d4697c679a8c0acf08cf (diff)
Add viasio(4), a driver for VIA VT1211 LPC Super I/O found on
some VIA CPU based boards. The driver provides temperature, voltage and fan tachometers values through the sysctl interface. Rickard Dahlstrand <rd@tilde.se> asked for this driver and provided access to the test board. Also tested by millert@. ok millert@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/viasio.468
2 files changed, 70 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 32adf72c0ae..87e02b25f8d 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.304 2005/07/28 01:43:31 brad Exp $
+# $OpenBSD: Makefile,v 1.305 2005/07/28 20:12:13 grange Exp $
MAN= aac.4 ac97.4 acphy.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 ahd.4 \
aic.4 amdpm.4 ami.4 amphy.4 an.4 aria.4 ast.4 atalk.4 \
@@ -34,7 +34,7 @@ MAN= aac.4 ac97.4 acphy.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 ahd.4 \
ukphy.4 ulpt.4 umass.4 umct.4 umidi.4 umodem.4 ums.4 \
unix.4 upl.4 uplcom.4 urio.4 url.4 urlphy.4 usb.4 \
uscanner.4 usscanner.4 uvisor.4 uvscom.4 uyap.4 vga.4 vge.4 \
- viaenv.4 vlan.4 vnd.4 vr.4 watchdog.4 wb.4 wd.4 wdc.4 we.4 \
+ viaenv.4 viasio.4 vlan.4 vnd.4 vr.4 watchdog.4 wb.4 wd.4 wdc.4 we.4 \
wi.4tbl wscons.4 wsdisplay.4 wskbd.4 wsmouse.4 wsmux.4 xe.4 \
xf86.4 xl.4 xmphy.4 yds.4 ym.4 zero.4
diff --git a/share/man/man4/viasio.4 b/share/man/man4/viasio.4
new file mode 100644
index 00000000000..a374d21b5ec
--- /dev/null
+++ b/share/man/man4/viasio.4
@@ -0,0 +1,68 @@
+.\" $OpenBSD: viasio.4,v 1.1 2005/07/28 20:12:13 grange Exp $
+.\"
+.\" Copyright (c) 2005 Alexander Yurchenko <grange@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 Jul 24, 2005
+.Dt VIASIO 4
+.Os
+.Sh NAME
+.Nm viasio
+.Nd VIA VT1211 LPC Super I/O
+.Sh SYNOPSIS
+.Cd "viasio* at isa? port 0x2e flags 0x0000"
+.Cd "viasio* at isa? port 0x4e flags 0x0000"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the VIA VT1211 LPC Super I/O IC.
+Only hardware monitoring function is supported currently.
+.Pp
+Hardware monitor provides hardware monitoring capabilities
+to be used with the
+.Xr sysctl 8
+interface.
+The following monitoring sensors are available:
+.Bl -column "Sensor" "UnitsXXXXX" "Typical" -offset indent
+.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical use"
+.It Li "TEMP1" Ta "uK" Ta "Pentium II type thermal diode"
+.It Li "UCH1" Ta "uK or uV DC" Ta "CPU temperature"
+.It Li "UCH2" Ta "uK or uV DC" Ta "System temperature"
+.It Li "UCH3" Ta "uK or uV DC" Ta "CPU core voltage"
+.It Li "UCH4" Ta "uK or uV DC" Ta "+5V"
+.It Li "UCH5" Ta "uK or uV DC" Ta "+12V"
+.It Li "+3.3V" Ta "uV" Ta "Internal +3.3V"
+.It Li "FAN1" Ta "RPM" Ta "Fan tachometer"
+.It Li "FAN2" Ta "RPM" Ta "Fan tachometer"
+.El
+.Pp
+If hardware monitor is not enabled by firmware the driver can try
+to enable it if value 0x0001 is presented in the
+.Ar flags .
+Note that enabling hardware monitor can lead to unexpected results.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr isa 4 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 3.8 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by
+.An Alexander Yurchenko Aq grange@openbsd.org .