summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi/atapiscsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/atapiscsi/atapiscsi.c')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index d8a5aab4215..c500d94a866 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.25 2000/04/10 07:06:17 csapuntz Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.26 2000/06/30 01:03:40 art Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -695,8 +695,7 @@ wdc_atapi_the_machine(chp, xfer, ctxt)
if (xfer->expect_irq) {
chp->ch_flags |= WDCF_IRQ_WAIT;
xfer->expect_irq = 0;
- timeout(wdctimeout, chp, xfer->endticks - ticks);
-
+ timeout_add(&chp->ch_timo, xfer->endticks - ticks);
return (claim_irq);
}