diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-10-06 23:04:29 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-10-06 23:04:29 +0000 |
commit | 0a143ad9c13d0e64a721c03d6bdb833836c1b69e (patch) | |
tree | 40f4bd3dac6288cebc58265d88d64dfa1a53076e /sys/dev/ic/aic79xx_openbsd.c | |
parent | 0931f59d0972a71e86c7ed9e5ec9b8055f3828ff (diff) |
Use correct timer when reinstating timeouts. Adapted from FreeBSD
aic79xx_osm.c r1.22 fix by gibbs.
Diffstat (limited to 'sys/dev/ic/aic79xx_openbsd.c')
-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); |