aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/uart
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2006-08-01 21:30:07 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2006-08-01 21:30:07 +0000
commit4c6e9f5297e1c22742da789ee41270bd9ed5d3ca (patch)
tree69ea39feb8a44d8a0627dee8e1612040ea73dbb8 /sys/dev/uart
parenta53d0b4d1b475287f2602239ff712e53f14ba32a (diff)
Notes
Diffstat (limited to 'sys/dev/uart')
-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 134d80880bfa..7e32c98a4821 100644
--- a/sys/dev/uart/uart_tty.c
+++ b/sys/dev/uart/uart_tty.c
@@ -318,6 +318,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);