Properly propagate overrun conditions to the TTY layer.

MFC after: 3 days
This commit is contained in:
marcel 2006-07-27 00:07:10 +00:00
parent 5e3e96f008
commit 08406d93cd

View File

@ -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);