diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-25 15:34:39 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 23:44:20 +0400 |
commit | ed82f96425e744dffe62115e46f08eb785c0b2f3 (patch) | |
tree | a4c61c016c6bd340d941ad141c14a8f7d837ab7f /mm/page-writeback.c | |
parent | d8b81b8008a0f131e01bb6eb5c681c900c327e2b (diff) | |
download | linux-ed82f96425e744dffe62115e46f08eb785c0b2f3.tar.xz |
libata/pdc_adma: make SFF EH handle non-bmdma SFF drivers and standardize pdc_adma ops
pdc_adma has interface similar to SFF but has its own DMA interface.
It currently implements noop bmdma ops to avoid crashing
ata_bmdma_error_handler() which BTW actually is EH for SFF drivers.
This patch makes ata_bmdma_error_handler() dereference bmdma ops iff
bmdma_addr is initialized as done in ata_bmdma_post_internal_cmd.
This change allows pdc_adma to standardize ops and use SFF
error_handler and post_internal_cmd.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions