]> git.baikalelectronics.ru Git - kernel.git/commit
sata_nv: revert use of notifiers for now
authorRobert Hancock <hancockr@shaw.ca>
Fri, 9 Mar 2007 00:02:18 +0000 (18:02 -0600)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Mar 2007 13:41:16 +0000 (08:41 -0500)
commit330510c40a210b6a8db3d5afeeebd61c0dc54fa1
tree6c5b274554f68bfd650f5362653aca407eb86865
parentcc0b00d185ec26fa6a44289517c31d7bd8b788fb
sata_nv: revert use of notifiers for now

Commit db49d0cd1051d9091d42dc59488dbe75766913c1 added support for using the
ADMA notifier bits to determine which commands to check for completion.
However there have been reports that this causes command timeouts in certain
cases. This is still being investigated. In addition, apparently the notifiers
won't work if ADMA is disabled on the other port as a result of an ATAPI device
being connected, and we don't handle this case properly.

For now, just restore the previous behavior of checking all active commands
to see if they are complete, without relying on the notifiers.

Signed-off-by: Robert Hancock <hancockr@shaw.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_nv.c