Fix logic to avoid a potential deadlock in ahd_run_qoutfifo()
commita8e0a4a081a71b3f58923158d613b8e06fc11c49
authorpavalos <pavalos>
Tue, 3 Jul 2007 21:13:35 +0000 (3 21:13 +0000)
committerpavalos <pavalos>
Tue, 3 Jul 2007 21:13:35 +0000 (3 21:13 +0000)
tree4a31fd0aaace3d348fb96ab4efd0aa657ef4ef27
parent1b526f4392b6f5cbb719fed0bc2a79425273b610
Fix logic to avoid a potential deadlock in ahd_run_qoutfifo()
if we happen to catch the DMA engine in just the right state.

Obtained-from:  FreeBSD
sys/dev/disk/aic7xxx/aic79xx.c