diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-01-21 21:54:01 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-01-21 21:54:01 +0000 |
commit | ebcf515942389f0e738f6323c8b553ceabee63f1 (patch) | |
tree | 02576077cba384aac928f4d78d19526d93f75d7b /sys/dev/ic/aic6360.c | |
parent | 170b1962e3648be5d4b991579d61efbc60a24fd2 (diff) |
Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).
No functional changes.
ok krw@ miod@
Diffstat (limited to 'sys/dev/ic/aic6360.c')
-rw-r--r-- | sys/dev/ic/aic6360.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c index a7dc296b64c..0875c30220d 100644 --- a/sys/dev/ic/aic6360.c +++ b/sys/dev/ic/aic6360.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic6360.c,v 1.17 2008/11/24 00:31:35 krw Exp $ */ +/* $OpenBSD: aic6360.c,v 1.18 2009/01/21 21:53:59 grange Exp $ */ /* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */ #ifdef DDB @@ -1769,8 +1769,7 @@ loop: /* On our first connection, schedule a timeout. */ if ((acb->xs->flags & SCSI_POLL) == 0) - timeout_add(&acb->xs->stimeout, - (acb->timeout * hz) / 1000); + timeout_add_msec(&acb->xs->stimeout, acb->timeout); sc->sc_state = AIC_CONNECTED; } else if ((sstat1 & SELTO) != 0) { |