summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.sparc
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-02-01 03:33:28 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-02-01 03:33:28 +0000
commit746954ab64bf9b5219a872c725a8216bb0de397b (patch)
tree4647c9756f7fc9a3b6083674e93ca7431f9778f2 /share/man/man4/man4.sparc
parent6d6788f37c0c221883581a98662bb4545dff0565 (diff)
Almost, but not quite, 3 years late... a man page for the led driver.
Diffstat (limited to 'share/man/man4/man4.sparc')
-rw-r--r--share/man/man4/man4.sparc/Makefile8
-rw-r--r--share/man/man4/man4.sparc/intro.44
-rw-r--r--share/man/man4/man4.sparc/led.459
3 files changed, 66 insertions, 5 deletions
diff --git a/share/man/man4/man4.sparc/Makefile b/share/man/man4/man4.sparc/Makefile
index 1a9b0fd0455..71494afd957 100644
--- a/share/man/man4/man4.sparc/Makefile
+++ b/share/man/man4/man4.sparc/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.18 2000/03/02 14:46:48 todd Exp $
+# $OpenBSD: Makefile,v 1.19 2001/02/01 03:33:27 jason Exp $
# from: @(#)Makefile 8.2 (Berkeley) 2/16/94
MAN= intro.4
MAN+= audioamd.4 audiocs.4 be.4 bwtwo.4 cgtwo.4 cgthree.4 cgfour.4 cgsix.4
-MAN+= cgeight.4 cgfourteen.4 esp.4 fd.4 fga.4 hme.4 ie.4 kbd.4 le.4 magma.4
-MAN+= mem.4 ms.4 openprom.4 pnozz.4 qe.4 qec.4 scf.4 si.4 spif.4 sw.4
-MAN+= tctrl.4 tcx.4 xbox.4 xd.4 xy.4 zs.4
+MAN+= cgeight.4 cgfourteen.4 esp.4 fd.4 fga.4 hme.4 ie.4 kbd.4 le.4 led.4
+MAN+= magma.4 mem.4 ms.4 openprom.4 pnozz.4 qe.4 qec.4 scf.4 si.4 spif.4
+MAN+= sw.4 tctrl.4 tcx.4 xbox.4 xd.4 xy.4 zs.4
MLINKS= mem.4 kmem.4
MLINKS+= fga.4 fvme.4
MANSUBDIR=/sparc
diff --git a/share/man/man4/man4.sparc/intro.4 b/share/man/man4/man4.sparc/intro.4
index b4006f76d70..cea494db228 100644
--- a/share/man/man4/man4.sparc/intro.4
+++ b/share/man/man4/man4.sparc/intro.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.4,v 1.14 2000/01/03 07:52:20 jason Exp $
+.\" $OpenBSD: intro.4,v 1.15 2001/02/01 03:33:27 jason Exp $
.\" $NetBSD: intro.4,v 1.5 1998/02/06 06:07:00 perry Exp $
.\"
.\" Copyright (c) 1996 Jonathan Stone.
@@ -231,6 +231,8 @@ Qlogic ISP SBus SCSI controller
Sun type 2, type 3, type 4, and type 5 keyboards (on zs)
.It le/lebuffer
AMD 7990 LANCE ethernet controller (Sun 4/200, 4/300, sun4c, sun4m, SBus)
+.It led
+diagnostic LED display on sun4 and sun4m (4/600) machines
.It magma
Magma serial/parallel communication boards
.It ms
diff --git a/share/man/man4/man4.sparc/led.4 b/share/man/man4/man4.sparc/led.4
new file mode 100644
index 00000000000..96aa93d3141
--- /dev/null
+++ b/share/man/man4/man4.sparc/led.4
@@ -0,0 +1,59 @@
+.\" $OpenBSD: led.4,v 1.1 2001/02/01 03:33:27 jason Exp $
+.\"
+.\" Copyright (c) 2001 Jason L. Wright (jason@thought.net)
+.\" All rights reserved.
+.\"
+.\" 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.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by Jason L. Wright
+.\" 4. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
+.\"
+.Dd January 31, 2001
+.Dt LED 4 sparc
+.Os
+.Sh NAME
+.Nm led
+.Nd SPARC LED driver
+.Sh SYNOPSIS
+.Cd "led0 at mainbus0 " Pq "sun4"
+.Cd "led0 at obio0 " Pq "sun4m: 4/600"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides a indicator of load average based on blinking of the
+LEDs on some systems.
+The pattern takes one second per whole number of load average to repeat.
+The LED must be explicitly enabled with the
+.Xr sysctl 3
+variable
+.Nm machdep.led_blink .
+.Sh SEE ALSO
+.Xr sysctl 3 ,
+.Xr sysctl 8
+.Sh HISTORY
+.Ox
+support for the
+.Nm
+first appeared in
+.Ox 2.3 .