diff options
author | scottl <scottl@FreeBSD.org> | 2000-11-19 23:46:21 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2000-11-19 23:46:21 +0000 |
commit | b2a8c568be5d6eb12450d95cf746ae26af274f4a (patch) | |
tree | f21c894766afcd3650e6806d23292e2070d522f1 | |
parent | 0d441a8a27905f539fb1e7f85a8ba1cde59cfced (diff) | |
download | FreeBSD-src-b2a8c568be5d6eb12450d95cf746ae26af274f4a.zip FreeBSD-src-b2a8c568be5d6eb12450d95cf746ae26af274f4a.tar.gz |
Disable calling timeout() when doing bio. It was causing more prolems than
solving. This will be fixed for real soon.
-rw-r--r-- | sys/dev/aac/aac.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index 19b57e9..f225430 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -529,7 +529,10 @@ aac_startio(struct aac_softc *sc) break; /* Set a timeout for this command to be completed by the controller */ - cm->timeout_handle = timeout((timeout_t*)aac_timeout, cm, AAC_CMD_TIMEOUT * hz); + /* Disable this for now until the timeout queue is fixed or the driver + * can watch timeouts itself + * cm->timeout_handle = timeout((timeout_t*)aac_timeout, cm, AAC_CMD_TIMEOUT * hz); + */ /* try to give the command to the controller */ if (aac_start(cm) == EBUSY) { @@ -790,7 +793,10 @@ aac_bio_complete(struct aac_command *cm) AAC_FSAStatus status; /* kill the timeout timer */ - untimeout((timeout_t *)aac_timeout, cm, cm->timeout_handle); + /* Disable this for now until the timeout queue is fixed or the driver + * can watch timeouts itself + * untimeout((timeout_t *)aac_timeout, cm, cm->timeout_handle); + */ /* fetch relevant status and then release the command */ bp = (struct bio *)cm->cm_private; |