aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tws
diff options
context:
space:
mode:
authorSteven Hartland <smh@FreeBSD.org>2014-11-21 21:01:24 +0000
committerSteven Hartland <smh@FreeBSD.org>2014-11-21 21:01:24 +0000
commit85c9dd9d895261632d58cf98da6608b93dd5d7f8 (patch)
tree5ebdafcf9900ec8ee871257dadfca8fdc7f4aa95 /sys/dev/tws
parent7db6c5cde6083b3cf76f1f85225c19052722dfd5 (diff)
Notes
Diffstat (limited to 'sys/dev/tws')
-rw-r--r--sys/dev/tws/tws_cam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/tws/tws_cam.c b/sys/dev/tws/tws_cam.c
index 9b429d2542ed..00027151694b 100644
--- a/sys/dev/tws/tws_cam.c
+++ b/sys/dev/tws/tws_cam.c
@@ -747,7 +747,8 @@ tws_execute_scsi(struct tws_softc *sc, union ccb *ccb)
* and submit the I/O.
*/
sc->stats.scsi_ios++;
- callout_reset(&req->timeout, (ccb_h->timeout * hz) / 1000, tws_timeout, req);
+ callout_reset_sbt(&req->timeout, SBT_1MS * ccb->ccb_h.timeout, 0,
+ tws_timeout, req, 0);
error = tws_map_request(sc, req);
return(error);
}