diff options
author | 2005-10-06 23:04:28 +0000 | |
---|---|---|
committer | 2005-10-06 23:04:28 +0000 | |
commit | f9ba3fbcc32db2d564cb36088d0df6a21c825e5e (patch) | |
tree | 5f1d49cfcaa6db8d994d29b8c5cd169599828a3e | |
parent | remove dep_next "shadow object" dead code. (diff) | |
download | wireguard-openbsd-f9ba3fbcc32db2d564cb36088d0df6a21c825e5e.tar.xz wireguard-openbsd-f9ba3fbcc32db2d564cb36088d0df6a21c825e5e.zip |
Use correct timer when reinstating timeouts. Adapted from FreeBSD
aic79xx_osm.c r1.22 fix by gibbs.
-rw-r--r-- | sys/dev/ic/aic79xx_openbsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/aic79xx_openbsd.c b/sys/dev/ic/aic79xx_openbsd.c index 9e866230a44..75f439ae849 100644 --- a/sys/dev/ic/aic79xx_openbsd.c +++ b/sys/dev/ic/aic79xx_openbsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx_openbsd.c,v 1.20 2004/12/30 17:29:55 krw Exp $ */ +/* $OpenBSD: aic79xx_openbsd.c,v 1.21 2005/10/06 23:04:28 krw Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -211,8 +211,8 @@ ahd_done(struct ahd_softc *ahd, struct scb *scb) LIST_FOREACH(list_scb, &ahd->pending_scbs, pending_links) { if (!(list_scb->xs->flags & SCSI_POLL)) - aic_scb_timer_reset(scb, - aic_get_timeout(scb)); + aic_scb_timer_reset(list_scb, + aic_get_timeout(list_scb)); } ahd_print_path(ahd, scb); |