summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/ast.440
-rw-r--r--share/man/man4/com.410
-rw-r--r--share/man/man4/fd.47
-rw-r--r--share/man/man4/fdc.426
4 files changed, 49 insertions, 34 deletions
diff --git a/share/man/man4/ast.4 b/share/man/man4/ast.4
index d28e41699c1..09ff21d2b85 100644
--- a/share/man/man4/ast.4
+++ b/share/man/man4/ast.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ast.4,v 1.1 2000/05/20 17:19:51 deraadt Exp $
+.\" $OpenBSD: ast.4,v 1.2 2000/07/10 13:10:27 aaron Exp $
.\" $NetBSD: ast.4,v 1.7 1996/03/16 00:07:07 thorpej Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
@@ -57,18 +57,21 @@ driver provides support for boards that multiplex together up to four
.Tn RS-232C
.Pf ( Tn CCITT
.Tn V.28 )
-communications interfaces. Apparently the original master of hardware
-using this multiplexing protocol was AST.
+communications interfaces.
+Apparently the original master of hardware using this multiplexing protocol
+was AST.
.Pp
Each
.Nm
device is the master device for up to four
.Nm com
-devices. The kernel configuration specifies these
+devices.
+The kernel configuration specifies these
.Nm com
devices as slave devices of the
.Nm
-device, as shown in the synopsis. The slave ID given for each
+device, as shown in the synopsis.
+The slave ID given for each
.Nm com
device determines which bit in the interrupt multiplexing register is
tested to find interrupts for that device.
@@ -83,24 +86,33 @@ subdevices and the port for the interrupt multiplexing register.
On a real AST card, the jumpers are as follows:
.Bl -tag -width xxxxx
.It SW1-1
-Turn ON for irq 2. Default is OFF.
+Turn ON for irq 2.
+Default is OFF.
.It SW1-2
-Turn ON for irq 3. Default is OFF.
+Turn ON for irq 3.
+Default is OFF.
.It SW1-3
-Turn ON for irq 4. Default is OFF.
+Turn ON for irq 4.
+Default is OFF.
.It SW2-1
-Turn ON for irq 5. This is ON for the first card, OFF otherwise.
+Turn ON for irq 5.
+This is ON for the first card, OFF otherwise.
.It SW2-2
-Turn ON for irq 6. This is ON for the second card, OFF otherwise.
+Turn ON for irq 6.
+This is ON for the second card, OFF otherwise.
.It SW2-3
-Turn ON for irq 7. Default is OFF.
+Turn ON for irq 7.
+Default is OFF.
.It SW3-1
-`Compatible mode'. The ast driver needs extended mode, so leave this OFF.
+.Dq Compatible mode .
+The ast driver needs extended mode, so leave this OFF.
.It SW3-2
-IO Address. In extended mode, this should be OFF for the first card at
+IO Address.
+In extended mode, this should be OFF for the first card at
0x1a0-0x1a7 and ON for the second card at 0x2a0-0x2a7.
.It SW3-3
-Interrupt sharing. Default is OFF.
+Interrupt sharing.
+Default is OFF.
.It SW3-4
Reserved, must be OFF.
.El
diff --git a/share/man/man4/com.4 b/share/man/man4/com.4
index af46672ccf4..ca64843a2f0 100644
--- a/share/man/man4/com.4
+++ b/share/man/man4/com.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: com.4,v 1.1 2000/05/20 17:19:51 deraadt Exp $
+.\" $OpenBSD: com.4,v 1.2 2000/07/10 13:10:27 aaron Exp $
.\" $NetBSD: com.4,v 1.5 1996/03/16 00:07:08 thorpej Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
@@ -70,21 +70,23 @@ driver also supports the XR16850 UART.
The NS8250 and NS16450 have single
character buffers, the NS16550 has a 16 character buffer, while
the ST16650 has a 32 character buffer, and the TI16750 has a 64 character
-buffer. The XR16850 has a 128 character buffer.
+buffer.
+The XR16850 has a 128 character buffer.
.Pp
The
.Nm com
and
.Nm pccom
drivers are mutually exclusive; both may not be present in the same system at
-the same time. Attempting to compile such a system will fail.
+the same time.
+Attempting to compile such a system will fail.
.Pp
Input and output for each line may set to one of following baud rates;
50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600,
19200, 38400, 57600, or 115200, or any other baud rate which is a factor
of 115200.
.Sh FILES
-.Bl -tag -width Pa
+.Bl -tag -width Pa -compact
.It Pa /dev/tty00
.It Pa /dev/tty01
.It Pa /dev/cua00
diff --git a/share/man/man4/fd.4 b/share/man/man4/fd.4
index 95b7970f489..5add3105b2a 100644
--- a/share/man/man4/fd.4
+++ b/share/man/man4/fd.4
@@ -47,8 +47,7 @@ The files
.Pa /dev/fd/0
through
.Pa /dev/fd/#
-refer to file descriptors which can be accessed through the file
-system.
+refer to file descriptors which can be accessed through the file system.
If the file descriptor is open and the mode the file is being opened
with is a subset of the mode of the existing descriptor, the call:
.Bd -literal -offset indent
@@ -64,7 +63,7 @@ are equivalent.
.Pp
Opening the files
.Pa /dev/stdin ,
-.Pa /dev/stdout
+.Pa /dev/stdout ,
and
.Pa /dev/stderr
is equivalent to the following calls:
@@ -78,7 +77,7 @@ Flags to the
.Xr open 2
call other than
.Dv O_RDONLY ,
-.Dv O_WRONLY
+.Dv O_WRONLY ,
and
.Dv O_RDWR
are ignored.
diff --git a/share/man/man4/fdc.4 b/share/man/man4/fdc.4
index 8c0d576b855..ad03d232373 100644
--- a/share/man/man4/fdc.4
+++ b/share/man/man4/fdc.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fdc.4,v 1.1 2000/05/20 17:19:51 deraadt Exp $
+.\" $OpenBSD: fdc.4,v 1.2 2000/07/10 13:10:26 aaron Exp $
.\" $NetBSD: fdc.4,v 1.6 1996/03/22 01:55:14 andrew Exp $
.\"
.\" Copyright (c) 1996 Andrew C. Wheadon
@@ -46,10 +46,10 @@
.Cd "fd* at fdc? drive ? flags Z"
.Sh DESCRIPTION
The
-.Nm fdc
-driver supports the standard AT floppy
-disk controllers. These include standard IDE, MFM, RLL,
-EIDE, ESDI and SCSI controllers with floppy attachment.
+.Nm
+driver supports the standard AT floppy disk controllers.
+These include standard IDE, MFM, RLL,
+EIDE, ESDI, and SCSI controllers with floppy attachment.
.Pp
The standard names of a floppy drive will take the form
.Nm /dev/fd{0,1,2,3}{,B,C,D,E,F,G,H}[abcdefghijklmnop] .
@@ -63,7 +63,8 @@ The last component of the path is the 16 partitions that a floppy
disk can support.
.Pp
The additional geometry types are as follows:
-.Bl -tag -width xxxxxx -compact
+.Pp
+.Bl -tag -width xxxxxx -offset indent -compact
.It `B' 1.44MB
.It `C' 1.2MB
.It `D' 360KB/AT (360KB disk in a 1.2 MB drive)
@@ -84,7 +85,8 @@ probed type.
If the 0x10 bit is on, the low order three bits of the
.Cm flags
field encode the drive type, as follows:
-.Bl -tag -width xxxxxx -compact
+.Pp
+.Bl -tag -width xxxxxx -offset indent -compact
.It 1 2.88MB
.It 2 1.44MB
.It 3 1.2MB
@@ -95,17 +97,17 @@ field encode the drive type, as follows:
.Pp
If the 0x20 bit is on, the drive will be attached even
if it was not found by the probe routine.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr dmesg 8
.Sh BUGS
The
-.Nm fdc
+.Nm
driver can interfere with other controllers, namely some WD/SMC
network controllers fail to work when the probing mechanism
in the
-.Nm fdc
+.Nm
driver probes for a missing second floppy drive.
In this case you should try recompiling the kernel
replacing the relevant line with
.Cd "fd0 at fdc? drive ?".
-.Sh SEE ALSO
-.Xr intro 4 ,
-.Xr dmesg 8 .