]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit862fc2c226ce478334c0b2697eef16e564c39f4c
tree47d9271855d66676f1a70bac0f9e25d1781ce3e9
parent65af6f2f7a5dc5593269961fb1b3354a2039858b
[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