From 0a143ad9c13d0e64a721c03d6bdb833836c1b69e Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Thu, 6 Oct 2005 23:04:29 +0000 Subject: Use correct timer when reinstating timeouts. Adapted from FreeBSD aic79xx_osm.c r1.22 fix by gibbs. --- sys/dev/ic/aic79xx_openbsd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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); -- cgit v1.2.3