diff options
Diffstat (limited to 'sys/arch/mac68k/dev/z8530tty.c')
-rw-r--r-- | sys/arch/mac68k/dev/z8530tty.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/z8530tty.c b/sys/arch/mac68k/dev/z8530tty.c index 1a2d7876152..2ebf29f0465 100644 --- a/sys/arch/mac68k/dev/z8530tty.c +++ b/sys/arch/mac68k/dev/z8530tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530tty.c,v 1.2 1996/06/08 16:21:13 briggs Exp $ */ +/* $OpenBSD: z8530tty.c,v 1.3 1996/09/02 15:50:35 briggs Exp $ */ /* $NetBSD: z8530tty.c,v 1.3 1996/06/01 00:13:41 scottr Exp $ */ /* @@ -1321,6 +1321,12 @@ zstty_softint(cs) zst->zst_rx_overrun = 0; zsoverrun(zst, &zst->zst_rotime, "ring"); } + if (cs->cs_flags & ZS_FLAGS_INTERRUPT_OVERRUN) { + (void) splzs(); + cs->cs_flags &= ~ZS_FLAGS_INTERRUPT_OVERRUN; + (void) spltty(); + zsoverrun(zst, &zst->zst_intotime, "interrupt"); + } /* * Copy data from the receive ring into the tty layer. |