summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/rc.c')
-rw-r--r--sys/i386/isa/rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c
index 1db4a3d..07e0264 100644
--- a/sys/i386/isa/rc.c
+++ b/sys/i386/isa/rc.c
@@ -825,7 +825,7 @@ again:
if (!(tp->t_state & TS_CARR_ON) && !CALLOUT(dev)
&& !(tp->t_cflag & CLOCAL) && !(flag & O_NONBLOCK)) {
rc->rc_dcdwaits++;
- error = tsleep(&tp->t_rawq, TTIPRI | PCATCH, "rcdcd", 0);
+ error = tsleep(TSA_CARR_ON(tp), TTIPRI | PCATCH, "rcdcd", 0);
rc->rc_dcdwaits--;
if (error != 0)
goto out;
@@ -895,7 +895,7 @@ register struct rc_chans *rc;
}
rc->rc_flags &= ~RC_ACTOUT;
wakeup((caddr_t) &rc->rc_rcb); /* wake bi */
- wakeup((caddr_t) &tp->t_rawq); /* wake dcd */
+ wakeup(TSA_CARR_ON(tp));
(void) splx(s);
}
OpenPOWER on IntegriCloud