From 08406d93cdec8b392b538ada3b49516b64d72a03 Mon Sep 17 00:00:00 2001 From: marcel Date: Thu, 27 Jul 2006 00:07:10 +0000 Subject: Properly propagate overrun conditions to the TTY layer. MFC after: 3 days --- sys/dev/uart/uart_tty.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/uart') diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c index b54c94a..1971049 100644 --- a/sys/dev/uart/uart_tty.c +++ b/sys/dev/uart/uart_tty.c @@ -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); -- cgit v1.1