diff options
Diffstat (limited to 'sys/dev/ic/z8530tty.c')
-rw-r--r-- | sys/dev/ic/z8530tty.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/ic/z8530tty.c b/sys/dev/ic/z8530tty.c index 890ca335712..e22122b010d 100644 --- a/sys/dev/ic/z8530tty.c +++ b/sys/dev/ic/z8530tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530tty.c,v 1.22 2010/06/28 14:13:33 deraadt Exp $ */ +/* $OpenBSD: z8530tty.c,v 1.23 2010/07/02 17:27:01 nicm Exp $ */ /* $NetBSD: z8530tty.c,v 1.13 1996/10/16 20:42:14 gwr Exp $ */ /* @@ -600,13 +600,7 @@ zsstart(tp) * If there are sleepers, and output has drained below low * water mark, awaken. */ - if (tp->t_outq.c_cc <= tp->t_lowat) { - if (tp->t_state & TS_ASLEEP) { - tp->t_state &= ~TS_ASLEEP; - wakeup((caddr_t)&tp->t_outq); - } - selwakeup(&tp->t_wsel); - } + ttwakeupwr(tp); nch = ndqb(&tp->t_outq, 0); /* XXX */ (void) splzs(); |