]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb08ca078a63d6964275b6653c40dd548d1e8afcb
treee6f7b25db7c4f41b2cde372bb9909d219dacc73b
parentbf46fe19efb752a7725c72b2f2439457c61e1521
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