diff options
author | jan <jan@cvs.openbsd.org> | 2020-07-23 22:33:30 +0000 |
---|---|---|
committer | jan <jan@cvs.openbsd.org> | 2020-07-23 22:33:30 +0000 |
commit | 562ec5fd917e1b8b0d89e3a51bec31d1e0e3bb79 (patch) | |
tree | 6c611d11e72556955f3441b5ceb923cbc87a61da /share/man/man4 | |
parent | 4fc5570f8eae15cca640a5afc839836fc3329202 (diff) |
Fix wrong and missleading information in cy(4).
- Correct error messages
- RxFifoThreshold is named RX_FIFO_THRESHOLD with value of 6
- LogOverruns does not exist, error logging is always on
ok bluhm@
Diffstat (limited to 'share/man/man4')
-rw-r--r-- | share/man/man4/cy.4 | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/share/man/man4/cy.4 b/share/man/man4/cy.4 index 145cdf740bc..d2c001a2b2c 100644 --- a/share/man/man4/cy.4 +++ b/share/man/man4/cy.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cy.4,v 1.16 2013/07/16 16:05:48 schwarze Exp $ +.\" $OpenBSD: cy.4,v 1.17 2020/07/23 22:33:29 jan Exp $ .\" .\" Copyright (c) 1993 Andrew Herbert. .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (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 $Mdocdate: July 16 2013 $ +.Dd $Mdocdate: July 23 2020 $ .Dt CY 4 .Os .Sh NAME @@ -54,19 +54,15 @@ The device minor numbers for this driver are encoded as follows: .Ed .Sh DIAGNOSTICS .Bl -diag -.It "cy0: tty input queue overflow" +.It "cy0: port 0 ibuf overrun" Incoming characters have been discarded due to a buffer overflow. -This is caused by the process in control of the device not -.Xr read 2 Ns 'ing -characters fast enough. -.It "cy0: receive fifo overrun" +.It "cy0: port 0 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. +Reducing the value of the +.Dv RX_FIFO_THRESHOLD +#define from 6 to something smaller may help slow machines avoid this problem. .El .Sh SEE ALSO .Xr com 4 , |