diff options
Diffstat (limited to 'sys/arch/sparc/dev/magma.c')
| -rw-r--r-- | sys/arch/sparc/dev/magma.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c index 3209d16bb23..50be93a3f9b 100644 --- a/sys/arch/sparc/dev/magma.c +++ b/sys/arch/sparc/dev/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.26 2010/06/28 14:13:30 deraadt Exp $ */ +/* $OpenBSD: magma.c,v 1.27 2010/07/02 17:27:01 nicm Exp $ */ /*- * Copyright (c) 1998 Iain Hibbert @@ -1201,14 +1201,7 @@ mtty_start(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 there is something to send, start transmitting. |
