Commit 3bcc0df7 authored by Justin T. Gibbs's avatar Justin T. Gibbs

Aic79xx Driver Update

 o Correct failed-wait recovery code so that the controller's registers
   will not be accessed without pausing the controller first.
parent c89ea8f7
......@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#182 $
* $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#183 $
*
* $FreeBSD$
*/
......@@ -7737,6 +7737,9 @@ ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb)
ahd_delay(200);
} while (--maxloops);
if (maxloops == 0)
ahd_pause(ahd);
/* Freeze the queue until the client sees the error. */
ahd_freeze_devq(ahd, scb);
ahd_freeze_scb(scb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment