summaryrefslogtreecommitdiff
path: root/sys/dev/si
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1997-09-21 21:41:49 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1997-09-21 21:41:49 +0000
commit02a199102d13072dba351ddf7223e2935a63b694 (patch)
tree2a3eb6b8b56375d5cb0561151c4bf6d1c2f4e7f2 /sys/dev/si
parent47558d4d775987b6d27a39adf50677442273bda1 (diff)
Notes
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index bd756a30f526..6c4f899f6199 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.59 1997/07/20 14:10:11 bde Exp $
+ * $Id: si.c,v 1.60 1997/09/14 03:19:18 peter Exp $
*/
#ifndef lint
@@ -910,7 +910,7 @@ siclose(dev, flag, mode, p)
/* ok. we are now still on the right track.. nuke the hardware */
if (pp->sp_state & SS_LSTART) {
- untimeout(si_lstart, (caddr_t)pp);
+ untimeout(si_lstart, (caddr_t)pp, pp->lstart_ch);
pp->sp_state &= ~SS_LSTART;
}
@@ -2114,12 +2114,12 @@ si_start(tp)
}
if ((pp->sp_state & (SS_LSTART|SS_INLSTART)) == SS_LSTART) {
- untimeout(si_lstart, (caddr_t)pp);
+ untimeout(si_lstart, (caddr_t)pp, pp->lstart_ch);
} else {
pp->sp_state |= SS_LSTART;
}
DPRINT((pp, DBG_START, "arming lstart, time=%d\n", time));
- timeout(si_lstart, (caddr_t)pp, time);
+ pp->lstart_ch = timeout(si_lstart, (caddr_t)pp, time);
}
out: