]> git.baikalelectronics.ru Git - kernel.git/commit
sata_nv: complain on spurious completion notifiers
authorRobert Hancock <hancockr@shaw.ca>
Thu, 22 Feb 2007 05:53:03 +0000 (23:53 -0600)
committerJeff Garzik <jeff@garzik.org>
Fri, 23 Feb 2007 10:37:11 +0000 (05:37 -0500)
commitd4f70e03acab607a0db0c445841e646273af112c
treea42e8fa19a774a5853d7e15b6bb1a48327a0698a
parentdc761a1611d2703e104ec4c0e7972260f8e69686
sata_nv: complain on spurious completion notifiers

Recently Tejun wrote a patch to ahci.c to make it raise a HSM violation
if the drive attempted to complete a tag that wasn't outstanding. We could
run into the same problem with sata_nv ADMA. This adds code to raise a HSM
violation error if the controller gives us a notifier tag that isn't
outstanding, since the drive may be issuing spurious completions.

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