diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-30 01:03:42 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-30 01:03:42 +0000 |
commit | f0a1c73c54dab14ed95af7efc7f7a1ad395ef175 (patch) | |
tree | 7323ea6512ae7ed00b23fe763403da51be15af0a /sys/dev/atapiscsi | |
parent | f2ab17d342b804a7a4a23acc7cd03ab41ed5a96b (diff) |
Convert some parts to new timeouts.
Diffstat (limited to 'sys/dev/atapiscsi')
-rw-r--r-- | sys/dev/atapiscsi/atapiscsi.c | 5 |
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); } |