diff options
Diffstat (limited to 'sys/dev/sbus/magma.c')
-rw-r--r-- | sys/dev/sbus/magma.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/sbus/magma.c b/sys/dev/sbus/magma.c index 54a3be568e1..063a10f7a95 100644 --- a/sys/dev/sbus/magma.c +++ b/sys/dev/sbus/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.22 2010/06/28 14:13:34 deraadt Exp $ */ +/* $OpenBSD: magma.c,v 1.23 2010/07/02 17:27:01 nicm Exp $ */ /*- * Copyright (c) 1998 Iain Hibbert @@ -1116,14 +1116,7 @@ mtty_start(struct tty *tp) /* if we are sleeping and output has drained below * low water mark, awaken */ - if (tp->t_outq.c_cc <= tp->t_lowat) { - if (ISSET(tp->t_state, TS_ASLEEP)) { - CLR(tp->t_state, TS_ASLEEP); - wakeup(&tp->t_outq); - } - - selwakeup(&tp->t_wsel); - } + ttwakeupwr(tp); /* if something to send, start transmitting */ |