summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/spif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sbus/spif.c')
-rw-r--r--sys/dev/sbus/spif.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/sbus/spif.c b/sys/dev/sbus/spif.c
index 75d88e5d9e1..260b8afbcdc 100644
--- a/sys/dev/sbus/spif.c
+++ b/sys/dev/sbus/spif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spif.c,v 1.18 2010/06/28 14:13:34 deraadt Exp $ */
+/* $OpenBSD: spif.c,v 1.19 2010/07/02 17:27:01 nicm Exp $ */
/*
* Copyright (c) 1999-2002 Jason L. Wright (jason@thought.net)
@@ -740,13 +740,7 @@ stty_start(tp)
s = spltty();
if (!ISSET(tp->t_state, TS_TTSTOP | TS_TIMEOUT | TS_BUSY)) {
- 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 (tp->t_outq.c_cc) {
sp->sp_txc = ndqb(&tp->t_outq, 0);
sp->sp_txp = tp->t_outq.c_cf;