sata_nv: add back some verbosity into ADMA error_handler
authorRobert Hancock <hancockr@shaw.ca>
Mon, 12 Feb 2007 00:34:44 +0000 (18:34 -0600)
committerJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 09:58:17 +0000 (04:58 -0500)
commit2cb27853b7cbf0c908444e25c61b62fa336b88cd
treee6f7b25db7c4f41b2cde372bb9909d219dacc73b
parent4bb64fb98168981d3e5a0e790c077ff511768e84
sata_nv: add back some verbosity into ADMA error_handler

Some debug output in the ADMA error_handler function was removed recently,
but it may be useful in certain cases, like NCQ commands timing out. Add it
back in, but make it a bit more intelligent so that it only prints if
command(s) are active and only prints the CPBs for those commands.
That way it won't spew at inappropriate times like suspend/resume.

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