summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-24 22:16:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-24 22:16:19 +0000
commit27eac0f18d023d2641718dc61a7941f49fcc5ac0 (patch)
tree0f89006c83a9a0521a666cdfa7f4b1c945a2e463 /share
parentce5d5d099626cc7dc30d665b5d8094e26f7b238d (diff)
Minimal support for the ST7 chip found on Gdium Liberty, brings us battery
information and a few other things not yet wired.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/man4.loongson/Makefile4
-rw-r--r--share/man/man4/man4.loongson/stsec.442
2 files changed, 44 insertions, 2 deletions
diff --git a/share/man/man4/man4.loongson/Makefile b/share/man/man4/man4.loongson/Makefile
index 38f713ee4eb..48d4370b23b 100644
--- a/share/man/man4/man4.loongson/Makefile
+++ b/share/man/man4/man4.loongson/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.4 2010/02/24 10:12:56 otto Exp $
+# $OpenBSD: Makefile,v 1.5 2010/02/24 22:16:16 miod Exp $
MAN= autoconf.4 bonito.4 gdiumiic.4 glxpcib.4 intro.4 \
- mem.4 mfokclock.4 smfb.4 voyager.4 ykbec.4
+ mem.4 mfokclock.4 smfb.4 stsec.4 voyager.4 ykbec.4
MANSUBDIR=loongson
MLINKS+= mem.4 kmem.4
diff --git a/share/man/man4/man4.loongson/stsec.4 b/share/man/man4/man4.loongson/stsec.4
new file mode 100644
index 00000000000..f8c4cb4a415
--- /dev/null
+++ b/share/man/man4/man4.loongson/stsec.4
@@ -0,0 +1,42 @@
+.\" $OpenBSD: stsec.4,v 1.1 2010/02/24 22:16:16 miod Exp $
+.\"
+.\" Copyright (c) 2010 Miodrag Vallat.
+.\"
+.\" 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: February 24 2010 $
+.Dt STSEC 4 loongson
+.Os
+.Sh NAME
+.Nm stsec
+.Nd ST7 Embedded Controller
+.Sh SYNOPSIS
+.Cd "stsec* at iic?"
+.Sh DESCRIPTION
+The
+.Nm
+driver supports the ST7FOX1 embedded controller found on the Gdium Liberty
+netbook.
+.Pp
+This chip is used to control battery charge and discharge.
+It also reports the lid status, as well as the state of the power and wavelan
+radio enable buttons.
+.Pp
+Battery status and charge information is made available through the
+.Xr sysctl 3
+hardware sensor interface.
+.Sh SEE ALSO
+.Xr iic 4 ,
+.Xr intro 4 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8