Properly propagate overrun conditions to the TTY layer.
MFC after: 3 days
This commit is contained in:
parent
5e3e96f008
commit
08406d93cd
@ -313,6 +313,8 @@ uart_tty_intr(void *arg)
|
||||
c = xc & 0xff;
|
||||
if (xc & UART_STAT_FRAMERR)
|
||||
c |= TTY_FE;
|
||||
if (xc & UART_STAT_OVERRUN)
|
||||
c |= TTY_OE;
|
||||
if (xc & UART_STAT_PARERR)
|
||||
c |= TTY_PE;
|
||||
ttyld_rint(tp, c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user