[libata] EH: freeze port before aborting commands
authorJeff Garzik <jeff@garzik.org>
Tue, 7 Apr 2009 23:13:15 +0000 (19:13 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 1 Sep 2009 23:47:19 +0000 (19:47 -0400)
commit54c38444fad6a99b4b19512f8f0055d69115e69e
tree47d9271855d66676f1a70bac0f9e25d1781ce3e9
parent37d0892c5a94e208cf863e3b7bac014edee4346d
[libata] EH: freeze port before aborting commands

Call the ->freeze() hook before aborting qc's, because some hardware
requires special handling prior to accessing the taskfile registers
(for diagnosis/analysis/reset).  Most notably, hardware may wish to
disable the DMA engine or interrupts in the ->freeze() hook.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c