Remove the ERRORS section in favor of a DIAGNOSTICS section.

Requested by:	ru
This commit is contained in:
Tom Rhodes 2004-07-28 18:13:28 +00:00
parent 70f920e023
commit 98f85a58cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132802
2 changed files with 27 additions and 29 deletions

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 21, 2004
.Dd July 28, 2004
.Dt CM 4
.Os
.Sh NAME
@ -110,18 +110,14 @@ When switching between the two modes, use
.Dl ifconfig interfacename down up
to switch the
.Tn MTU .
.Sh ERRORS
.Sh DIAGNOSTICS
The following driver specific error messages
may be reported:
.Bl -tag -width Er
.It Bq Er ENOENT
May be returned if the device cannot allocate a port,
memory resource, or IRQ with the given resource ID.
.It Bq Er EINVAL
May be returned if the device is marked as down and is
still running.
This error may also be returned if the device is marked as up
but is not running.
.Bl -diag
.It "reset: card reset, link addr = 0x%02x (cm%d)"
The card is being reset and a new link address assigned.
.It "srint: restarted rx on buf cm%d"
The rx buffer has been emptied and will be reset.
.El
.Sh SEE ALSO
.Xr netintro 4 ,

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 21, 2004
.Dd July 28, 2004
.Dt ESP 4
.Os
.Sh NAME
@ -101,26 +101,28 @@ and certain types of parallel port hardware.
As such this driver may eventually replace the
.Xr amd 4
driver for network hardware.
.Sh ERRORS
.Sh DIAGNOSTICS
The following driver specific error messages
may be reported:
.Bl -tag -width Er
.It Bq Er EINVAL
May be returned if the driver cannot detach or reset
the state and/or bus.
.It Bq Er ENOMEM
Might be returned if the driver cannot allocate
parent
.Tn DMA
tag, or if the device is out of memory.
.It Bq Er ENXIO
May be returned if the driver cannot map
.Tn DMA
registers.
This error may also be returned if the driver is
unable to map the
.Bl -diag
.It "esp: cannot map %d segments"
The device was unable to map segments while mapping the
.Tn SCSI
core registers.
devices in
.Tn DMA
mode.
.It "unknown variant %d, devices not attached"
An unknown version of the card was found and devices will
not be attached.
.It "Unhandled function code %d"
The device returned a function code which the driver is
unable to handle, most likely during negotiation.
.It "esp:%d:%d): selection failed %d left in FIFO"
The target left the command phase prematurely.
If a command did not reach the device then it will
be reported as shown above.
.It "invalid state: %d"
The device has reached an invalid state.
.El
.Sh SEE ALSO
.Xr amd 4 ,