summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/uart/uart_tty.c2
1 files changed, 2 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud