Replace the ERRORS section with a DIAGNOSTICS section.

Requested by:	ru
This commit is contained in:
Tom Rhodes 2004-08-20 05:25:11 +00:00
parent 2c86298c6c
commit 7a18f5c985

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 21, 2004
.Dd August 20, 2004
.Dt RC 4
.Os
.Sh NAME
@ -62,30 +62,30 @@ initialization using settings found in the
file.
.Pp
This driver is mostly based on Cirrus Logic CL-CD180 driver.
.Sh ERRORS
.Sh DIAGNOSTICS
The following driver specific error messages
may be reported:
.Bl -tag -width Er
.It Bq Er EBUSY
May be returned if the device was busy when a
request to access its resources was made by
.Bl -diag
.It "rc%d channel%d: interrupt-level buffer overflow"
An internal buffer overflow error has occurred on
the listed channel.
The
.Nm
and was denied.
.It Bq Er ENOMEM
May be returned if the
driver will need reloaded to correct this.
.It "rc%d: Bad char chan %d"
The channel has obtained a bad set of characters.
.It "rc%d: Got extra chars chan %d"
The
.Nm
driver was unable to obtain the
.Tn IOBASE
addresses.
.It Bq Er ENXIO
May be returned if the device cannot obtain a valid
.Tn I/O
port through
.Fn isa_get_port .
This error may also be returned if the
.Fn isa_get_irq
function cannot obtain a valid
.Tn IRQ .
driver got more characters than expected on the channel shown.
.It "rc%d: data mismatch chan %d ptr %d (%d != %d)"
Data sent from channel
.Ar %d
to the rx buffer was different then expected.
.It "rc%d: channel %d command timeout, rc.c line: %d"
A command timeout has occurred on the channel, the
.Pa src/sys/dev/rc.c
file can be consulted for more information.
.El
.Sh SEE ALSO
.Xr tty 1 ,