diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-19 13:55:08 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-19 13:55:08 +0000 |
commit | 15ac9f67df4efd1769d8146b208dce738e1f5e5e (patch) | |
tree | cf17764d63d1221733d57e52a1ad83ca70530b1b /sys/dev | |
parent | ac9d428b047e63539da429fecca2248139e74814 (diff) |
Use t_rstrt_to for ttrstrt timeout.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ofw/ofcons.c | 4 | ||||
-rw-r--r-- | sys/dev/rcons/rcons_kern.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ofw/ofcons.c b/sys/dev/ofw/ofcons.c index c08749386d3..efc3a4cae05 100644 --- a/sys/dev/ofw/ofcons.c +++ b/sys/dev/ofw/ofcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofcons.c,v 1.3 1999/10/28 04:25:25 rahnds Exp $ */ +/* $OpenBSD: ofcons.c,v 1.4 2000/07/19 13:54:17 art Exp $ */ /* $NetBSD: ofcons.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */ /* @@ -233,7 +233,7 @@ ofcstart(tp) tp->t_state &= ~TS_BUSY; if (cl->c_cc) { tp->t_state |= TS_TIMEOUT; - timeout(ttrstrt, (void *)tp, 1); + timeout_add(&tp->t_rstrt_to, 1); } if (cl->c_cc <= tp->t_lowat) { if (tp->t_state & TS_ASLEEP) { diff --git a/sys/dev/rcons/rcons_kern.c b/sys/dev/rcons/rcons_kern.c index 55c0d5d149b..2cbf0d64a1d 100644 --- a/sys/dev/rcons/rcons_kern.c +++ b/sys/dev/rcons/rcons_kern.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcons_kern.c,v 1.3 1996/04/18 23:48:14 niklas Exp $ */ +/* $OpenBSD: rcons_kern.c,v 1.4 2000/07/19 13:55:07 art Exp $ */ /* $NetBSD: rcons_kern.c,v 1.4 1996/03/14 19:02:33 christos Exp $ */ /* @@ -100,7 +100,7 @@ rcons_output(tp) /* Come back if there's more to do */ if (tp->t_outq.c_cc) { tp->t_state |= TS_TIMEOUT; - timeout(ttrstrt, tp, 1); + timeout_add(&tp->t_rstrt_to, 1); } if (tp->t_outq.c_cc <= tp->t_lowat) { if (tp->t_state&TS_ASLEEP) { |