summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-09 03:04:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-09 03:04:55 +0000
commit9689cd0a9d5ca600a4b17ecedc6ab75cd96bcad7 (patch)
tree2121566a24d79d2183c27537a0184283a1545a11 /share/man
parent4524b06fbf789297c9fce6b9dd3b52a6f94b8c84 (diff)
Add some more, taken from the i386 port. I wonder if many of these should
not just be platform independent?
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/man4.alpha/cy.497
-rw-r--r--share/man/man4/man4.alpha/ed.4104
-rw-r--r--share/man/man4/man4.alpha/ep.4133
-rw-r--r--share/man/man4/man4.alpha/lpt.461
-rw-r--r--share/man/man4/man4.alpha/pms.479
-rw-r--r--share/man/man4/man4.alpha/wd.446
6 files changed, 520 insertions, 0 deletions
diff --git a/share/man/man4/man4.alpha/cy.4 b/share/man/man4/man4.alpha/cy.4
new file mode 100644
index 00000000000..b976e233c5f
--- /dev/null
+++ b/share/man/man4/man4.alpha/cy.4
@@ -0,0 +1,97 @@
+.\"
+.\" Copyright (c) 1993 Andrew Herbert.
+.\" 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. The name Andrew Herbert 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.
+.\"
+.\" $Id: cy.4,v 1.1 1998/03/09 03:04:54 millert Exp $
+.\"
+.Dd 5 October, 1993
+.Dt CY 4
+.Sh NAME
+.Nm cy
+.Nd
+Cyclades Cyclom-{4, 8, 16}Y asynchronous comms board device driver
+.Sh SYNOPSIS
+.Cd "cy0 at isa? tty irq 10 iomem 0xdc000 iosiz 8192 vector cyintr"
+.Cd "cy1 at pci?"
+.Sh DESCRIPTION
+This driver provides an interface to Cyclades Cyclom-4Y, Cyclom-8Y and
+Cyclom-16Y asynchronous multiport serial boards. These boards are based
+around Cirrus Logic CD1400 communication controllers.
+.Pp
+The device minor numbers for this driver are encoded as follows:
+.Pp
+.Bd -literal
+ c c x x u u u u - bits in the minor device number
+
+ bits meaning
+ ---- -------
+ uuuu physical serial line (i.e. unit) to use
+ 0-7 on a cyclom-8Y, 0-15 on a cyclom-16Y
+
+ xx unused
+
+ cc carrier control mode
+ 00 complete hardware carrier control of the tty.
+ DCD must be high for the open(2) to complete.
+ 01 reserved
+ 10 carrier ignored until a high->low transition
+ 11 carrier completed ignored
+.Ed
+.Sh DIAGNOSTICS
+.Bl -diag
+.It "cy%d: tty input queue overflow"
+Incoming characters have been discarded due to a buffer overflow. This is
+caused by the process in control of the device not read(2)ing characters
+fast enough.
+.It "cy%d: receive fifo overrun"
+Incoming characters have been discarded due to a CD1400 channel overrun. This
+is caused by interrupts not being serviced sufficiently quickly to prevent
+the 12 byte receive FIFO on a serial channel from overflowing. Reducing
+the value of the \fIRxFifoThreshold\fR #define from 8 to something smaller may
+help slow machines avoid this problem. The driver must have been compiled
+with the \fILogOverruns\fR option defined (the default) in order for this
+condition to be logged.
+.Sh SEE ALSO
+.Xr com 4 ,
+.Xr termios 4 ,
+.Xr tty 4
+.Sh AUTHORS
+The driver was written by Andrew Herbert <andrew@werple.apana.org.au>, and
+is still under development (from time to time :-).
+.Sh HISTORY
+Some ideas for the architecture of this driver's two-layer processing model
+were derived from the fas 2.10 driver by Uwe Doering
+<gemini@geminix.in-berlin.de> and the high-performance com driver by Bruce
+Evans <bde@kralizec.zeta.org.au>.
+.Pp
+This work was made possible through the donation of a Cyclom-8Y board by the
+manufacturer, Cyclades Corporation. However, neither Cyclades nor the author
+make any warranties regarding this software, nor guarantees of support.
+.Sh BUGS
+There is currently no BREAK handling - breaks are ignored.
+There is no support for bad-character reporting, except via PARMRK.
+The Cyclom-[48]Y boards do not listen to the RTS signal for receiver flow
+control.
+FIFO overruns are only logged when the termios IGNPAR setting is enabled.
diff --git a/share/man/man4/man4.alpha/ed.4 b/share/man/man4/man4.alpha/ed.4
new file mode 100644
index 00000000000..0341d2ebbee
--- /dev/null
+++ b/share/man/man4/man4.alpha/ed.4
@@ -0,0 +1,104 @@
+.\"
+.\" Copyright (c) 1994 Christopher G. Demetriou
+.\" 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 Christopher G. Demetriou.
+.\" 3. 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.
+.\"
+.\" $Id: ed.4,v 1.1 1998/03/09 03:04:53 millert Exp $
+.\"
+.Dd
+.Dt ED 4 alpha
+.Os
+.Sh NAME
+.Nm ed
+.Nd Ethernet driver for DP8390- and WD83C690-based ethernet boards
+.Sh SYNOPSIS
+.Cd "ed0 at isa? port 0x280 irq 9 iomem 0xd0000"
+.Cd "ed1 at isa? port 0x250 irq 9 iomem 0xd8000"
+.Cd "ed2 at isa? port 0x300 irq 10 iomem 0xcc000"
+.Cd "ed3 at pci? dev ? function ?"
+.Sh DESCRIPTION
+The
+.Nm
+interface provides access to a 10 Mb/s Ethernet network via the
+DP8390 and WD83C690 Ethernet chips. The ethernet cards supported
+by the
+.Nm
+interface are:
+.Pp
+.Bl -tag -width -offset indent -compact
+.It Western Digital 8003 Series
+.It Western Digital 8013 Series
+.It SMC Elite (80x3) Series
+.It SMC Ultra (8216) Series
+.It 3Com 3c503
+.It Novell NE1000
+.It Novell NE2000 and clones
+.El
+.Sh DIAGNOSTICS
+The DP8390 Ethernet chip implements a shared-memory ring-buffer
+to store incoming packets. When this buffer overfills, the
+.Nm
+driver produces a message similar to the following:
+.Pp
+.Bl -tag -width -offset indent -compact
+.It ed1: warning - receiver ring buffer overrun
+.El
+.Pp
+The 16bit boards (8013 series) have 16k of memory as well as
+fast memory access speed. Typical memory access speed on these
+boards is about 4MB/second. These boards generally have no
+problems keeping up with full ethernet speed and the ring-buffer
+seldom overfills.
+.Pp
+However, the 8bit boards (3c503, and 8003) usually have
+only 8k bytes of shared memory. This is only enough room for about
+4 full-size (1500 byte) packets. This can sometimes be a problem,
+especially on the original WD8003E and 3c503, because these
+boards' shared-memory access speed is quite slow; typically
+only about 1MB/second. The
+overhead of this slow memory access, and the fact that there is
+only room for 4 full-sized packets means that the ring-buffer
+will occassionally overrun. When this happens, the board must
+be reset to avoid a lockup problem in early revision 8390's.
+Resetting the board causes all of the data in the ring-buffer
+to be lost, requiring it to be retransmitted/received, congesting
+the board further. Because of this, maximum throughput
+on these boards is only about 400-600k per second.
+.Pp
+This problem is exasperated by NFS because the 8bit boards lack
+sufficient memory to support the default 8k byte packets that NFS and
+other protocols use as their default. If these cards must be used
+with NFS, use the NFS -r and -w options to limit NFS's packet size.
+4096k byte packets generally work.
+.Sh SEE ALSO
+.Xr ifconfig 8 ,
+.Xr intro 4 ,
+.Xr eg 4 ,
+.Xr el 4 ,
+.Xr ep 4 ,
+.Xr ie 4 ,
+.Xr le 4
diff --git a/share/man/man4/man4.alpha/ep.4 b/share/man/man4/man4.alpha/ep.4
new file mode 100644
index 00000000000..adb641437c8
--- /dev/null
+++ b/share/man/man4/man4.alpha/ep.4
@@ -0,0 +1,133 @@
+.\"
+.\" Copyright (c) 1994 Herb Peyerl
+.\" 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 Herb Peyerl
+.\" 3. 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.
+.\"
+.\" $Id: ep.4,v 1.1 1998/03/09 03:04:54 millert Exp $
+.\"
+.Dd February 04, 1993
+.Dt EP 4 alpha
+.Os
+.Sh NAME
+.Nm ep
+.Nd Ethernet driver for 3Com Etherlink III (3c5x9)
+.Sh SYNOPSIS
+.Cd "ep? at isa? port ? irq ?"
+.Cd "ep? at pci? dev ? function ?"
+.Sh DESCRIPTION
+The
+.Nm ep
+device driver supports the 3Com Etherlink III family of ethernet cards.
+This includes, among others,
+the 3c509 (ISA), and 3c500, 3c505, 3c900, and 3c905 (all PCI).
+Various models of these cards come with a different assortment of
+connectors:
+.Pp
+.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
+.It AUI/DIX
+Standard 15 pin connector
+.It 10Base2
+BNC, also known as thin-net
+.It 10BaseT
+10 Mbps UTP, also known as twisted pair
+.It MII
+UTP, switchable between 10 and 100 Mbps
+.El
+.Pp
+The default port to use is the BNC, if it is available.
+To choose an alternate port,
+use the following flag combinations with
+.Xr ifconfig 8
+or in your /etc/hostname.ep? file.
+.Pp
+.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
+.It -link0
+Use the BNC port (default).
+.It \ link0 -link1
+Use the AUI port.
+.It \ link0 \ link1
+Use the UTP port.
+.El
+.Pp
+If there are multiple cards in the computer, they are searched for
+in the following order:
+The PCI cards are found first based on PCI function# order.
+Next, the 3c509 ISA cards are found based on in increasing ethernet
+address order.
+Finally, the 3c509 ISA cards in Plug-and-Play mode will be probed
+for and matched in Plug-and-Play order.
+This is an example of how these will probe:
+.Pp
+ep0 at isa0 port 0x300-0x30f irq 3: 3Com 3C509 Ethernet: address 00:a0:24:29:a3:6b, utp (default utp)
+.Pp
+ep0 at pci0 dev 12 function 0 "3Com 3c905 100Base-TX" rev 0x00: address 00:60:97:dd:fc:eb, mii default mii/autoselect isa irq 9
+.Pp
+You may specify the port and irq numbers that the cards are expected
+to be found at, but it is not necessary.
+The cards are sufficiently intelligent to tell us where they
+actually live on the ISA bus.
+.Pp
+.Sh NOTES
+The 3c509 card has no jumpers to set the address.
+3Com supplies software to set the address of the card in software.
+To find the card on the ISA bus, the kernel performs a complex
+scan operation at IO address 0x100.
+Beware!
+Avoid placing other cards at that address!
+.Pp
+Some models of 3c5x9 have all three connectors on them.
+In the case of these cards; you must configure the transceiver type
+with the 3Com supplied DOS configuration disk before the link0/link1
+flags will operate correctly.
+.Pp
+Plug and Play mode must currently be disabled on these cards.
+.Pp
+Do not specify link flags for the 3c905.
+If you can not get this card to work, try running the 3Com supplied DOS
+configuration program (available from their web site) and tell it to
+autoselect the connector type.
+.Pp
+.Sh DIAGNOSTICS
+ep0: reset (status: %x)
+.in +4
+the driver has encountered a FIFO underrun or overrun. The driver will reset
+the card and the packet will be lost. This is not fatal.
+.in -4
+ep0: eeprom failed to come ready
+.in +4
+The eeprom failed to come ready. This probably means the card is wedged.
+.in -4
+ep0: 3c509 in test mode. Erase pencil mark!
+.in +4
+This means that someone has scribbled with pencil in the test area on the
+card. Erase the pencil mark and reboot. (This is not a joke).
+.in -4
+.Sh SEE ALSO
+.Xr ifconfig 8 ,
+.Xr intro 4 ,
+.Xr ed 4 ,
+.Xr le 4
diff --git a/share/man/man4/man4.alpha/lpt.4 b/share/man/man4/man4.alpha/lpt.4
new file mode 100644
index 00000000000..57954e43791
--- /dev/null
+++ b/share/man/man4/man4.alpha/lpt.4
@@ -0,0 +1,61 @@
+.\"
+.\" Copyright (c) 1993 Christopher G. Demetriou
+.\" 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 Christopher G. Demetriou.
+.\" 3. 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.
+.\"
+.\" $Id: lpt.4,v 1.1 1998/03/09 03:04:53 millert Exp $
+.\"
+.Dd August 6, 1993
+.Dt LPT 4 alpha
+.Os
+.Sh NAME
+.Nm lpt
+.Nd
+Parallel port driver
+.Sh SYNOPSIS
+.\" XXX this is awful hackery to get it to work right... -- cgd
+.Cd "lpt0 at isa? port" \&"IO_LPT1\&" irq 7
+.Cd "lpt1 at isa? port" \&"IO_LPT2\&"
+.Sh DESCRIPTION
+This driver provides access to parallel ports.
+.Pp
+The highest bit in the minor (bit 7, or add 128) number selects
+whether to do polling or wait for interrupts. If no IRQ is specified
+in the kernel configuration, only the polling device may be used.
+.Pp
+The next lower bit (bit 6, or add 64) indicates the driver should
+avoid initializing the printer.
+.P.
+The next lower bit (bit 5, or add 32) requests that the driver do
+automatic LF generation when printing CR's.
+.Sh FILES
+.Bl -tag -width Pa -compact
+.It Pa /dev/lpt0
+first interrupt-driven parallel port device
+.It Pa /dev/lpa0
+first polled parallel port device
+.El
diff --git a/share/man/man4/man4.alpha/pms.4 b/share/man/man4/man4.alpha/pms.4
new file mode 100644
index 00000000000..881155dc23f
--- /dev/null
+++ b/share/man/man4/man4.alpha/pms.4
@@ -0,0 +1,79 @@
+.\"
+.\" $OpenBSD: pms.4,v 1.1 1998/03/09 03:04:53 millert Exp $
+.\"
+.\" Copyright (c) 1996, Jason Downs.
+.\" Copyright (c) 1993 Christopher G. Demetriou
+.\" 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 Christopher G. Demetriou.
+.\" 3. 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 October 12, 1996
+.Dt PMS 4 alpha
+.Os
+.Sh NAME
+.Nm pms
+.Nd
+PS/2 auxiliary port mouse driver
+.Sh SYNOPSIS
+.Cd "pms0 at pcppi?"
+.Sh DESCRIPTION
+This driver provides an interface to a PS/2 auxiliary port mice. The driver
+offers two modes of operation, both a raw and the old style translated
+input stream. The translating portion of the driver provides BusMouse
+codes; in raw mode no translations are performed.
+The
+.Nm
+driver provides three
+.Em ioctls
+for getting mouse status and changing modes. They are defined in the
+following include:
+.Bd -literal -offset indent
+#include <machine/mouse.h>
+.Ed
+
+The
+.Dv MOUSEIOCREAD
+.Em ioctl
+is used to read the current mouse stats, and takes the
+.Dv "struct mouseinfo"
+as an argument to store the data in.
+
+The
+.Dv MOUSEIOCSRAW
+.Em ioctl
+puts the device into raw mode, if it is not already, and the
+.Dv MOUSEIOCSCOOKED
+.Em ioctl
+puts it into translated (or cooked) mode. If the mode of the
+.Nm
+device driver changes, all pending but not yet read input is flushed.
+.Sh FILES
+.Bl -tag -width Pa -compact
+.It Pa /dev/psm0
+PS/2 mouse device file, defaulting to raw mode
+.It Pa /dev/pms0
+PS/2 mouse device file, defaulting to translating mode
+.El
diff --git a/share/man/man4/man4.alpha/wd.4 b/share/man/man4/man4.alpha/wd.4
new file mode 100644
index 00000000000..875f3e41baa
--- /dev/null
+++ b/share/man/man4/man4.alpha/wd.4
@@ -0,0 +1,46 @@
+.\"
+.\" Copyright (c) 1994 James A. Jegers
+.\" 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. 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 November 29, 1994
+.Dt WD 4 alpha
+.Os
+.Sh NAME
+.Nm wd
+.Nd WD100x compatible hard disk driver
+.Sh SYNOPSIS
+.Cd "wdc0 at isa? port 0x1f0 irq 14"
+.Cd "wdc0 at isa? port 0x170 irq 15"
+.Cd "wd* at wdc? drive ?"
+.Sh DESCRIPTION
+The
+.Nm wd
+driver supports hard disk controllers which emulate the Western
+Digital WD100x. This includes standard MFM, RLL, ESDI and IDE
+controllers. Most PCI bus alpha machines have a WD100x compatible
+controller builtin on the motherboard.
+.Pp
+Support for extended EIDE controllers is
+.Ud .
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr acd 4