aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rc
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-07-22 01:30:45 +0000
committerBruce Evans <bde@FreeBSD.org>1995-07-22 01:30:45 +0000
commita16721a13ae540a2c63dd30d74316ab3ae3aa61b (patch)
treec4afe09d343e52acfa2524ee2edbd4e49000cf11 /sys/dev/rc
parent2ce42987d3ee48eeab510a217bfbdd94847bd649 (diff)
Notes
Diffstat (limited to 'sys/dev/rc')
-rw-r--r--sys/dev/rc/rc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 8eb0f93a3550..1db4a3d055b9 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -551,13 +551,7 @@ register struct tty *tp;
#ifdef RCDEBUG
printrcflags(rc, "rcstart");
#endif
- 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);
- }
+ ttwwakeup(tp);
#ifdef RCDEBUG
printf("rcstart: outq = %d obuf = %d\n",
tp->t_outq.c_cc, rc->rc_obufend - rc->rc_optr);