554,560c554
< 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);
< 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);