From 3eabe1cdd53fa0a28538e175714863e197f45d1e Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 29 Apr 2011 23:51:55 +0200 Subject: [PATCH] Add an nsclpcsio(4) manual page (from OpenBSD). --- share/man/man4/Makefile | 1 + share/man/man4/isa.4 | 2 + share/man/man4/nsclpcsio.4 | 99 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 share/man/man4/nsclpcsio.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index b8b8f5e42d..9fcc32c971 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -199,6 +199,7 @@ MAN= aac.4 \ ng_UI.4 \ ng_vjc.4 \ nmdm.4 \ + nsclpcsio.4 \ nsp.4 \ null.4 \ ohci.4 \ diff --git a/share/man/man4/isa.4 b/share/man/man4/isa.4 index f19d26258f..14402370b7 100644 --- a/share/man/man4/isa.4 +++ b/share/man/man4/isa.4 @@ -156,6 +156,8 @@ ITE IT8705F/IT8712F/IT8716F/IT8718F/IT8726F and SiS SiS950 temperature, voltage, and fan sensor with watchdog timer .It Xr lm 4 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 uguru 4 ABIT temperature, voltage and fan sensors .It Xr wbsio 4 diff --git a/share/man/man4/nsclpcsio.4 b/share/man/man4/nsclpcsio.4 new file mode 100644 index 0000000000..6f47bf6090 --- /dev/null +++ b/share/man/man4/nsclpcsio.4 @@ -0,0 +1,99 @@ +.\" $OpenBSD: nsclpcsio.4,v 1.10 2007/12/23 22:09:19 jmc Exp $ +.\" +.\" Copyright (c) 2004 Markus Friedl +.\" +.\" 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 April 29, 2011 +.Dt NSCLPCSIO 4 +.Os +.Sh NAME +.Nm nsclpcsio +.Nd National Semiconductor PC87366 LPC Super I/O with GPIO +.Sh SYNOPSIS +.Cd device nsclpcsio0 at isa? port 0x2e +.Cd device nsclpcsio1 at isa? port 0x4e +.Sh DESCRIPTION +The +.Nm +driver provides support for the National Semiconductor PC87366 LPC Super I/O. +The Super I/O module incorporates several logical devices, the following +ones are supported: GPIO, VLM and TMS. +.Pp +.\"The GPIO logical device provides 29 I/O pins which can be accessed +.\"through the +.\".Xr gpio 4 +.\"framework. +.\"The +.\".Xr gpioctl 8 +.\"program allows easy manipulation of the pins from userland. +.\".Pp +VLM and TMS logical devices provides hardware monitoring capabilities +to be used with the +.Xr sysctl 8 +interface. +The following 17 monitoring sensors are available: +.Bl -column "Sensor" "Units" "Typical" -offset indent +.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" +.It Li "TSENS1" Ta "uK" Ta "Remote diode" +.It Li "TSENS2" Ta "uK" Ta "Remote diode" +.It Li "TNSC" Ta "uK" Ta "Local diode" +.It Li "VSENS0" Ta "uV DC" Ta "External source" +.It Li "VSENS1" Ta "uV DC" Ta "External source" +.It Li "VSENS2" Ta "uV DC" Ta "External source" +.It Li "VSENS3" Ta "uV DC" Ta "External source" +.It Li "VSENS4" Ta "uV DC" Ta "External source" +.It Li "VSENS5" Ta "uV DC" Ta "External source" +.It Li "VSENS6" Ta "uV DC" Ta "External source" +.It Li "VSB" Ta "uV DC" Ta "VSB" +.It Li "VDD" Ta "uV DC" Ta "VDD" +.It Li "VBAT" Ta "uV DC" Ta "VBAT" +.It Li "AVDD" Ta "uV DC" Ta "AVDD" +.It Li "TS1" Ta "uV DC" Ta "Thermistor" +.It Li "TS2" Ta "uV DC" Ta "Thermistor" +.It Li "TS3" Ta "uV DC" Ta "Thermistor" +.El +.Sh SEE ALSO +.\".Xr gpio 4 , +.Xr isa 4 , +.\".Xr gpioctl 8 , +.Xr sensorsd 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 2.0 , +.Ox +support was added in +.Ox 3.5 . +.Pp +It was imported into +.Dx 2.5 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Matthias Drochner Aq drochner@netbsd.org +for +.Nx +and then ported to +.Ox 3.5 +by +.An Markus Friedl Aq markus@openbsd.org . +.Tn GPIO +support was added in +.Ox 3.6 +by +.An Alexander Yurchenko Aq grange@openbsd.org . -- 2.41.0