Fix logic to avoid a potential deadlock in ahd_run_qoutfifo()
authorPeter Avalos <pavalos@dragonflybsd.org>
Tue, 3 Jul 2007 21:13:35 +0000 (21:13 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Tue, 3 Jul 2007 21:13:35 +0000 (21:13 +0000)
commit593f3c4b3e69c74aca34f2929bfed22b9d2ccaae
tree5ec5d56ef4ba7a25cc7ef126c53a491fdbda07c1
parentd717de5c1921193b1e1b0cdfe7da09729f54fae3
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