]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sata_nv: delay on switching between NCQ and non-NCQ commands
authorRobert Hancock <hancockr@shaw.ca>
Thu, 22 Mar 2007 16:39:04 +0000 (12:39 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Apr 2007 10:43:11 +0000 (03:43 -0700)
commit83b72f1c7cc4bfdb0958a2c1709c5a17ea10c7dd
tree9cfd40fb99ff7cb63ca0bfb9b5b1d4f2c4bffc67
parent9f6a92b47b7580d35170712933f4eaab63d72238
sata_nv: delay on switching between NCQ and non-NCQ commands

sata_nv: delay on switching between NCQ and non-NCQ commands

This patch appears to solve some problems with commands timing out in
cases where an NCQ command is immediately followed by a non-NCQ command
(or possibly vice versa). This is a rather ugly solution, but until we
know more about why this is needed, this is about all we can do.

[backport to 2.6.20 by Chuck Ebbert <cebbert@redhat.com>]

Signed-off-by: Robert Hancock <hancockr@shaw.ca>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/sata_nv.c