mdoc(7) & nroff cleanup, plus some additional references

This commit is contained in:
fair 1998-06-11 08:32:19 +00:00
parent 6c721e05f1
commit 7dfd309216
14 changed files with 170 additions and 107 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: bwtwo.4,v 1.2 1996/07/31 20:33:03 thorpej Exp $ .\" $NetBSD: bwtwo.4,v 1.3 1998/06/11 08:32:19 fair Exp $
.\" .\"
.\" Copyright (c) 1992, 1993 .\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -50,7 +50,8 @@
The The
.Nm .Nm
is a memory based black and white frame buffer. is a memory based black and white frame buffer.
It supports the minimal ioctl's needed to run X11. It supports the minimal ioctl's needed to run
.Xr X 1 .
.Sh SEE ALSO .Sh SEE ALSO
.Xr cgsix 4 , .Xr cgsix 4 ,
.Xr cgthree 4 .Xr cgthree 4

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cgeight.4,v 1.2 1997/10/08 22:00:03 jtc Exp $ .\" $NetBSD: cgeight.4,v 1.3 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -46,13 +46,15 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
is a memory based color frame buffer. Its pixel memory can be mapped is a memory based color frame buffer.
into a user process address space by using Its pixel memory can be mapped into a user process address space
the by using the
.Xr mmap 2 .Xr mmap 2
system call. The system call.
The
.Nm .Nm
driver supports the minimal ioctl's needed to run X11. driver supports the minimal ioctl's needed to run
.Xr X 1 .
.Sh SEE ALSO .Sh SEE ALSO
.Xr bwtwo 4 , .Xr bwtwo 4 ,
.Xr cgtwo 4 , .Xr cgtwo 4 ,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cgfour.4,v 1.2 1997/10/08 22:00:05 jtc Exp $ .\" $NetBSD: cgfour.4,v 1.3 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -46,13 +46,15 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
is a memory based color frame buffer with overlay plane. Its pixel memory is a memory based color frame buffer with overlay plane.
and control planes can be mapped into a user process address space by using Its pixel memory and control planes can be mapped into a user
the process address space by using the
.Xr mmap 2 .Xr mmap 2
system call. The system call.
The
.Nm .Nm
driver supports the minimal ioctl's needed to run X11. driver supports the minimal ioctl's needed to run
.Xr X 1 .
.Sh SEE ALSO .Sh SEE ALSO
.Xr bwtwo 4 , .Xr bwtwo 4 ,
.Xr cgtwo 4 , .Xr cgtwo 4 ,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cgfourteen.4,v 1.2 1997/10/08 22:00:06 jtc Exp $ .\" $NetBSD: cgfourteen.4,v 1.3 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The President and Fellows of Harvard College. .\" Copyright (c) 1996 The President and Fellows of Harvard College.
.\" All rights reserved. .\" All rights reserved.
@ -56,14 +56,17 @@ overlay capabilities. Its pixel memory can be mapped into a user process
address space by using address space by using
the the
.Xr mmap 2 .Xr mmap 2
system call. The system call.
The
.Nm .Nm
driver supports the minimal ioctl's needed to run X11. driver supports the minimal ioctl's needed to run
.Xr X 1 .
.Pp .Pp
The driver operates by default in The driver operates by default in
.Xr cgthree 4 .Xr cgthree 4
emulation mode, i.e. in 8-bit unaccelerated mode. This emulation mode, i.e.
emulation does include support for the hardware cursor present on the in 8-bit unaccelerated mode.
This emulation does include support for the hardware cursor present on the
.Nm cgfourteen , .Nm cgfourteen ,
however. however.
.Sh SEE ALSO .Sh SEE ALSO

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cgsix.4,v 1.3 1996/07/31 20:33:04 thorpej Exp $ .\" $NetBSD: cgsix.4,v 1.4 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright 1994 .\" Copyright 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -51,7 +51,8 @@
The The
.Nm cgsix .Nm cgsix
is a memory based color frame buffer. is a memory based color frame buffer.
It supports the minimal ioctl's needed to run X11. It supports the minimal ioctl's needed to run
.Xr X 1 .
.Sh SEE ALSO .Sh SEE ALSO
.Xr bwtwo 4 , .Xr bwtwo 4 ,
.Xr cgtwo 4 , .Xr cgtwo 4 ,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cgthree.4,v 1.3 1996/07/31 20:33:05 thorpej Exp $ .\" $NetBSD: cgthree.4,v 1.4 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1992, 1993 .\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -51,7 +51,8 @@
The The
.Nm .Nm
is a memory based color frame buffer. is a memory based color frame buffer.
It supports the minimal ioctl's needed to run X11. It supports the minimal ioctl's needed to run
.Xr X 1 .
.Sh SEE ALSO .Sh SEE ALSO
.Xr bwtwo 4 , .Xr bwtwo 4 ,
.Xr cgtwo 4 , .Xr cgtwo 4 ,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cgtwo.4,v 1.3 1997/10/08 22:00:08 jtc Exp $ .\" $NetBSD: cgtwo.4,v 1.4 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -45,13 +45,15 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm cgtwo .Nm cgtwo
is a memory based color frame buffer. Its control pixel memory can be mapped is a memory based color frame buffer.
into a user process address space by using Its control pixel memory can be mapped into a user process address
the space by using the
.Xr mmap 2 .Xr mmap 2
system call. The system call.
The
.Nm .Nm
driver supports the minimal ioctl's needed to run X11. driver supports the minimal ioctl's needed to run
.Xr X 1 .
.Sh SEE ALSO .Sh SEE ALSO
.Xr bwtwo 4 , .Xr bwtwo 4 ,
.Xr cgthree 4 , .Xr cgthree 4 ,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: fd.4,v 1.4 1997/11/12 00:49:42 mrg Exp $ .\" $NetBSD: fd.4,v 1.5 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -40,14 +40,18 @@
.Sh NAME .Sh NAME
.Nm fd , .Nm fd ,
.Nm fdc .Nm fdc
.Nd Sparcstation floppy drive .Nd SPARCstation i82072 or i82077 floppy disk controller driver
.Sh SYNOPSIS .Sh SYNOPSIS
.Cd "fdc0 at mainbus0" Pq sun4c .Cd "fdc0 at mainbus0" Pq sun4c
.Cd "fdc0 at obio0" Pq sun4m .Cd "fdc0 at obio0" Pq sun4m
.Cd "fd* at fdc0" .Cd "fd* at fdc0"
.Sh DESCRIPTION .Sh DESCRIPTION
This is the driver for the built-in disquette station found on the This is the driver for the built-in floppy disk drive run by the
Sparcstation 1, and (optionally) other desktop Sparc systems. .Tn Intel
i82072 or i82077 controller chip found on the SPARCstation desktop
systems, and other
.Tn SPARC
systems.
.Pp .Pp
Bits Bits
.Bq 0-3 .Bq 0-3
@ -55,13 +59,13 @@ of the minor device number of the special files referring to this
device encode the floppy density as follows: device encode the floppy density as follows:
.Bl -tag -width indent -offset indent .Bl -tag -width indent -offset indent
.It 0 .It 0
3.5'' 1.44MB disquettes. 3.5'' 1.44MB floppy diskettes.
.It 1 .It 1
3.5'' 720KB disquettes. 3.5'' 720KB floppy diskettes.
.It 2 .It 2
3.5'' 360KB disquettes. 3.5'' 360KB floppy diskettes.
.It 3 .It 3
3.5'' 1.2MB/NEC Japanese format disquettes. 3.5'' 1.2MB/NEC Japanese format floppy diskettes.
.El .El
.Sh FORMATTING .Sh FORMATTING
The driver supports floppy disk formatting using the interfaces in The driver supports floppy disk formatting using the interfaces in
@ -69,7 +73,8 @@ The driver supports floppy disk formatting using the interfaces in
.Pp .Pp
.Bl -tag -width FDIOCFORMAT_TRACK -compact .Bl -tag -width FDIOCFORMAT_TRACK -compact
.It Dv FDIOCGETFORMAT Fa struct fdformat_parms .It Dv FDIOCGETFORMAT Fa struct fdformat_parms
Fetch current formatting parameters. This gets the default parameters Fetch current formatting parameters.
This gets the default parameters
for the open device if no parameters have been set during the session. for the open device if no parameters have been set during the session.
.Pp .Pp
.It Dv FDIOCSETFORMAT Fa struct fdformat_parms .It Dv FDIOCSETFORMAT Fa struct fdformat_parms
@ -86,7 +91,8 @@ If it returns
there was a medium error while formatting the track. there was a medium error while formatting the track.
.Pp .Pp
.It Dv FDIOCSETOPTS Fa int .It Dv FDIOCSETOPTS Fa int
Set driver options which persist until the device is closed. The Set driver options which persist until the device is closed.
The
options should be the logical OR of the desired values below: options should be the logical OR of the desired values below:
.Pp .Pp
.Bl -tag -width FDOPT_NORETRY -compact .Bl -tag -width FDOPT_NORETRY -compact

View File

@ -1,4 +1,4 @@
.\" $NetBSD: kbd.4,v 1.3 1997/11/25 22:15:56 pk Exp $ .\" $NetBSD: kbd.4,v 1.4 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -46,45 +46,66 @@
The The
.Nm .Nm
driver provides an interface to the workstation console keyboard. driver provides an interface to the workstation console keyboard.
.Dq type 2 , The
.Dq type 3 , .Tn Sun
.Qq type 2 ,
.Qq type 3 ,
.Qq type 4 ,
and and
.Dq type 4 .Qq type 5
keyboards are supported. All types generate keycodes encoding the keyboards are supported.
The
.Qq type 5
keyboard is treated as if it were a
.Qq type 4 .
All types generate keycodes encoding the
key identity and motion (up or down) as the keys are pressed and released. key identity and motion (up or down) as the keys are pressed and released.
The The
.Nm .Nm
driver either passes the keycodes to an application as they come in, or driver either passes the keycodes to an application as they come in
translates them into ASCII characters first according to a set of built-in .Pq e.g. Xr X 1 ,
tables. or translates them into
If the keyboard is configured as the device .Tn ASCII
to be used for system console input characters first according to a set of built-in tables.
.Pp
If the
.Nm
is configured as the device to be used for system console input
.Pq see Xr openprom 4 , .Pq see Xr openprom 4 ,
it will be internally connected to the it will be internally connected to the
.Pa /dev/console .Pa /dev/console
device special file, which can be used as a device special file, which can be used as a
.Xr tty 4 .Xr tty 4
device. device.
.Pp
The device special file The device special file
.Pa /dev/kbd .Pa /dev/kbd
is used to get direct access to the keyboard input stream. The following is used to get direct access to the keyboard input stream.
ioctl's are supported (mostly just enough to keep the X11 server going): .Pp
The following
ioctl's are supported (mostly just enough to keep the
.Xr X 1
server going):
.Bl -tag -width KIOCSDIRECT .Bl -tag -width KIOCSDIRECT
.It KIOCTRANS .It KIOCTRANS
Set translation mode. The argument is of type Set translation mode.
The argument is of type
.Fa "int *" , .Fa "int *" ,
the only value supported is the only value supported is
.Dv TR_UNTRANS_EVENT . .Dv TR_UNTRANS_EVENT .
.It KIOCGTRANS .It KIOCGTRANS
Get translation mode. The argument is of type Get translation mode.
The argument is of type
.Fa "int *" . .Fa "int *" .
.Dv TR_UNTRANS_EVENT .Dv TR_UNTRANS_EVENT
is always returned. is always returned.
.It KIOCGETKEY .It KIOCGETKEY
Fill in old-style key station translation. The argument is of type Fill in old-style key station translation.
The argument is of type
.Fa "struct okiockey *" . .Fa "struct okiockey *" .
.It KIOCCMD .It KIOCCMD
Send a command to the keyboard. The argument is of type Send a command to the keyboard.
The argument is of type
.Fa "int *" , .Fa "int *" ,
and can have one of the following values: and can have one of the following values:
.Bl -tag -width KBD_CMD_NOCLICK .Bl -tag -width KBD_CMD_NOCLICK
@ -95,10 +116,11 @@ Stop the keyboard beeper.
.It KBD_CMD_CLICK .It KBD_CMD_CLICK
Instruct the keyboard to make extra noise when touching keys. Instruct the keyboard to make extra noise when touching keys.
.It KBD_CMD_NOCLICK .It KBD_CMD_NOCLICK
Instruct the keyboard to.. oh well.. Instruct the keyboard to stop making extra noise when touching keys.
.El .El
.It KIOCTYPE .It KIOCTYPE
Get keyboard type. The argument is of type Get keyboard type.
The argument is of type
.Fa "int *" , .Fa "int *" ,
in which one of the values in which one of the values
.Dv KB_SUN2 , .Dv KB_SUN2 ,
@ -107,20 +129,24 @@ or
.Dv KB_SUN4 .Dv KB_SUN4
will be returned. will be returned.
.It KIOCSDIRECT .It KIOCSDIRECT
Route the keyboard input stream through the (SunOS) compatible event module. Route the keyboard input stream through the
.Tn SunOS
compatible event module.
The argument is of type The argument is of type
.Fa "int *" , .Fa "int *" ,
a non-zero value will put the driver into a non-zero value will put the driver into
.Dq event .Qq event
mode, while a value of zero will make it return to mode, while a value of zero will make it return to
.Dq ASCII translation .Qq ASCII translation
mode. mode.
.It KIOCSKEY .It KIOCSKEY
Set key station translation. The argument is of type Set key station translation.
The argument is of type
.Fa "struct kiockey *" .Fa "struct kiockey *"
.Pq see Pa /usr/include/machine/kbio.h No for more details . .Pq see Pa /usr/include/machine/kbio.h No for more details .
.It KIOCGKEY .It KIOCGKEY
Get key station translation. The argument is of type Get key station translation.
The argument is of type
.Fa "struct kiockey *" . .Fa "struct kiockey *" .
.It KIOCLAYOUT .It KIOCLAYOUT
Get keyboard layout Get keyboard layout
@ -161,4 +187,4 @@ in which the current LED state is returned.
.Nm .Nm
is hardwired to the built-in is hardwired to the built-in
.Em zs1 .Em zs1
serial port. serial port at 1200 bps.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: le.4,v 1.6 1997/07/11 09:33:18 pk Exp $ .\" $NetBSD: le.4,v 1.7 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1992, 1993 .\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -51,11 +51,14 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
interface provides access to the 10 Mb/s Ethernet network via the interface provides access to the 10 Mb/s
.Tn Ethernet
network via the
.Tn AMD .Tn AMD
7990 Am7990
.Tn LANCE Local Area Network Controller for Ethernet
Ethernet chip set. .Pq Tn LANCE
chip set.
.Pp .Pp
Each of the host's network addresses Each of the host's network addresses
is specified at boot time with an is specified at boot time with an
@ -65,7 +68,9 @@ The
.Nm .Nm
interface employs the address resolution protocol described in interface employs the address resolution protocol described in
.Xr arp 4 .Xr arp 4
to dynamically map between Internet and Ethernet addresses on the local to dynamically map between Internet and
.Tn Ethernet
addresses on the local
network. network.
.Pp .Pp
Interfaces attached to an Interfaces attached to an
@ -95,9 +100,9 @@ to select the UTP connector.
.Pp .Pp
If a If a
.Cm media .Cm media
parameter is not specified, a default connector is selected for use by examining parameter is not specified, a default connector is selected for
all media types for carrier. The first connector on which a carrier is use by examining all media types for carrier.
detected will be selected. The first connector on which a carrier is detected will be selected.
Additionally, if carrier is dropped on a port, the driver will switch between Additionally, if carrier is dropped on a port, the driver will switch between
the possible ports until one with carrier is found. the possible ports until one with carrier is found.
.Pp .Pp

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mem.4,v 1.2 1996/07/31 20:33:08 thorpej Exp $ .\" $NetBSD: mem.4,v 1.3 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1992, 1993 .\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -43,23 +43,22 @@
.Sh NAME .Sh NAME
.Nm mem , .Nm mem ,
.Nm kmem .Nm kmem
.Nd main memory .Nd main memory access driver
.Sh DESCRIPTION .Sh DESCRIPTION
The file The file
.Nm /dev/mem .Pa /dev/mem
is an interface to the physical memory of the is an interface to the physical memory of the computer.
computer.
Byte offsets in this file are interpreted as physical memory addresses. Byte offsets in this file are interpreted as physical memory addresses.
Reading and writing this file is equivalent to reading and writing Reading and writing this file is equivalent to reading and writing
memory itself. memory itself.
An error will be returned if an attempt is made to reference An error will be returned if an attempt is made to reference
an offset outside of an offset outside of
.Nm /dev/mem . .Pa /dev/mem .
.Pp .Pp
Kernel virtual memory is accessed via the file Kernel virtual memory is accessed via the file
.Nm /dev/kmem .Pa /dev/kmem
in the same manner as in the same manner as
.Nm /dev/mem . .Pa /dev/mem .
Only kernel virtual addresses that are currently mapped to memory are allowed. Only kernel virtual addresses that are currently mapped to memory are allowed.
.Sh SPARC .Sh SPARC
On the On the

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ms.4,v 1.3 1998/06/11 07:21:07 fair Exp $ .\" $NetBSD: ms.4,v 1.4 1998/06/11 08:32:20 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -70,7 +70,9 @@ The device special file
.Pa /dev/mouse .Pa /dev/mouse
is used to get direct access to the mouse input stream. is used to get direct access to the mouse input stream.
The following The following
ioctl's are supported (mostly just enough to keep the X11 server going): ioctl's are supported (mostly just enough to keep the
.Xr X 1
server going):
.Bl -tag -width VUIDSFORMAT .Bl -tag -width VUIDSFORMAT
.It Dv VUIDSFORMAT .It Dv VUIDSFORMAT
Set translation mode. Set translation mode.
@ -91,4 +93,4 @@ is always returned.
.Nm .Nm
is hardwired to the built-in is hardwired to the built-in
.Em zs1 .Em zs1
serial port. serial port at 1200 bps.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: openprom.4,v 1.2 1996/07/31 20:33:09 thorpej Exp $ .\" $NetBSD: openprom.4,v 1.3 1998/06/11 08:32:21 fair Exp $
.\" .\"
.\" Copyright (c) 1992, 1993 .\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -149,7 +149,17 @@ exceeds the maximum allowed length (8191 bytes).
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr ioctl 2 .Xr ioctl 2
.Pp
.Pa http://playground.sun.com/1275/
.Sh BUGS .Sh BUGS
Due to limitations within the OPENPROM itself, Due to limitations within the
these functions run at elevated priority .Nm
itself, these functions run at elevated priority
and may adversely affect system performance. and may adversely affect system performance.
.Pp
The
.Tn Sun
.Nm
is what became the Open Firmware
.Pq Tn IEEE 1275
standard for processor and system independent boot firmware.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: tcx.4,v 1.3 1997/10/08 22:00:14 jtc Exp $ .\" $NetBSD: tcx.4,v 1.4 1998/06/11 08:32:21 fair Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -44,16 +44,19 @@
.Cd "tcx* at sbus? slot ? offset ?" .Cd "tcx* at sbus? slot ? offset ?"
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm tcx .Nm
is a memory based color frame buffer, with graphics acceleration and is a memory based color frame buffer, with graphics acceleration and
overlay capabilities. Its control registers, colour lookup table and overlay capabilities.
Its control registers, colour lookup table and
pixel memory can be mapped into a user process address space by using pixel memory can be mapped into a user process address space by using
the the
.Xr mmap 2 .Xr mmap 2
system call. The system call.
The
.Nm .Nm
driver supports the minimal ioctl's needed to run X11, and can be operated driver supports the minimal ioctl's needed to run
in .Xr X 1 ,
and can be operated in
.Xr cgthree 4 .Xr cgthree 4
emulation mode. emulation mode.
.Sh SEE ALSO .Sh SEE ALSO