summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-07-23 21:10:38 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-07-23 21:10:38 +0000
commit9f5068d36943ea10dcc025cbd2a43c5d13e49aee (patch)
tree8ae5de056b1878ee9eb908a63b2f0762db91dbc5 /sys/arch/hp300
parent5b5d63fa2421f5294a18aa161e023cc6d798832f (diff)
timeout_add -> timeout_add_msec
ok miod@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/mb89352.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c
index 298e55264d9..1487cefbbb2 100644
--- a/sys/arch/hp300/dev/mb89352.c
+++ b/sys/arch/hp300/dev/mb89352.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mb89352.c,v 1.17 2009/02/16 21:19:04 miod Exp $ */
+/* $OpenBSD: mb89352.c,v 1.18 2009/07/23 21:10:37 blambert Exp $ */
/* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */
/* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */
@@ -1622,8 +1622,8 @@ start:
if ((acb->xs->flags & SCSI_POLL) == 0) {
timeout_set(&acb->xs->stimeout, spc_timeout,
acb);
- timeout_add(&acb->xs->stimeout,
- (acb->timeout * hz) / 1000);
+ timeout_add_msec(&acb->xs->stimeout,
+ acb->timeout);
}
sc->sc_state = SPC_CONNECTED;
} else if ((ints & INTS_TIMEOUT) != 0) {