summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.sun3
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2001-10-05 14:45:55 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2001-10-05 14:45:55 +0000
commite7d0adf95322ccbac21d361be1700e9edb07eff2 (patch)
tree0a7ba8b2db2a1f697897ee36c97e0c9344da12c9 /share/man/man4/man4.sun3
parent7ef5a345919c1cba77bdfe5ffcf43dde619dabd4 (diff)
Powered by @mantoya:
o) start new sentence on a new line; o) minor mdoc fixes; millert@ ok Tip of the day: www.mpechismazohist.com
Diffstat (limited to 'share/man/man4/man4.sun3')
-rw-r--r--share/man/man4/man4.sun3/ie.45
-rw-r--r--share/man/man4/man4.sun3/leds.436
2 files changed, 22 insertions, 19 deletions
diff --git a/share/man/man4/man4.sun3/ie.4 b/share/man/man4/man4.sun3/ie.4
index c73f7a483d9..c0046039492 100644
--- a/share/man/man4/man4.sun3/ie.4
+++ b/share/man/man4/man4.sun3/ie.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ie.4,v 1.6 2001/08/03 15:21:16 mpech Exp $
+.\" $OpenBSD: ie.4,v 1.7 2001/10/05 14:45:54 mpech Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -52,7 +52,8 @@ The
.Nm
interface provides access to the 10 Mb/s Ethernet network via the
.Tn Intel
-82586 Ethernet chip set. The
+82586 Ethernet chip set.
+The
.Nm
is found as an on-board interface on Sun 3/75, 3/1x0 and 3/2x0
workstations.
diff --git a/share/man/man4/man4.sun3/leds.4 b/share/man/man4/man4.sun3/leds.4
index 3cb6d3705d7..680cf294ef5 100644
--- a/share/man/man4/man4.sun3/leds.4
+++ b/share/man/man4/man4.sun3/leds.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: leds.4,v 1.3 2000/01/22 02:17:55 aaron Exp $
+.\" $OpenBSD: leds.4,v 1.4 2001/10/05 14:45:54 mpech Exp $
.\"
.Dd March 2, 1996
.Dt LEDS 4 sun3
@@ -18,17 +18,19 @@ This file contains two
.Sy unsigned int
to
.Xr write 2 ,
-which on a Sun-3 means big-endian), followed by a string of bytes. The
-string of bytes gives the successive patterns to be displayed on the
-LEDs; each byte's bits are taken and used to drive the LEDs. A 0 bit
-illuminates the corresponding LED; a 1 bit leaves the corresponding LED
-dark. The first
+which on a Sun-3 means big-endian), followed by a string of bytes.
+The string of bytes gives the successive patterns to be displayed on the
+LEDs; each byte's bits are taken and used to drive the LEDs.
+A 0 bit illuminates the corresponding LED; a 1 bit leaves the corresponding
+LED dark.
+The first
.Li unsigned int
gives the number of clock ticks that are skipped after each pattern is
-loaded before the next is loaded. For example, if this value is 0, a
-new pattern is loaded each clock tick; if it is 3, a new pattern will
-be loaded every fourth clock tick (i.e., three ticks will be skipped
-between loads). The second
+loaded before the next is loaded.
+For example, if this value is 0, a new pattern is loaded each clock tick;
+if it is 3, a new pattern will be loaded every fourth clock tick (i.e., three
+ticks will be skipped between loads).
+The second
.Li unsigned int
gives the number of patterns in the list, that is, the number of bytes
following the two
@@ -36,16 +38,16 @@ following the two
.Pp
There are limits on the two integer values; attempting a write that
would cause either of them to take on too large a value causes the
-write to return EIO without affecting anything. The limits are
-compiled into the kernel; as of this writing, the first one can be at
-most 128, the second at most 10240.
+write to return EIO without affecting anything.
+The limits are compiled into the kernel; as of this writing, the first one
+can be at most 128, the second at most 10240.
.Sh EXAMPLES
This example displays a single lit LED scrolling from one end of the
-display to the other, over and over, moving every six clock ticks. The
-first eight bytes supply the two
+display to the other, over and over, moving every six clock ticks.
+The first eight bytes supply the two
.Li unsigned int Ns s
-mentioned above; the other eight specify the patterns. (Convert them
-to binary, and remember that 0 bits mean lit LEDs.)
+mentioned above; the other eight specify the patterns.
+(Convert them to binary, and remember that 0 bits mean lit LEDs.)
.Bd -ragged -offset -ident
# echo 0 0 0 5 0 0 0 8 254 253 250 247 239 223 175 127 |
awk '{ for (i=1;i<=NF;i++) printf("%c",$i+0); }' > /dev/leds