HomeFreeBSD

MFC 359900: Export a sysctl count of RX FIFO overrun events.

Description

MFC 359900: Export a sysctl count of RX FIFO overrun events.

uart(4) backends currently detect RX FIFO overrun errors and report
them to the uart(4) core layer. They are then reported to the generic
TTY layer which promptly ignores them. As a result, there is
currently no good way to determine if a uart is experiencing RX FIFO
overruns. One could add a generic per-tty counter, but there did not
appear to be a good way to export those. Instead, add a sysctl under
the uart(4) sysctl tree to export the count of overruns.

Details

Provenance
jhbAuthored on Sep 8 2020, 10:50 PM
Parents
rG408a958d5b9d: MFC 359899: Correct baud rate error calculation.
Branches
Unknown
Tags
Unknown

Event Timeline