summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-31 11:27:52 +0200
committerTejun Heo <htejun@gmail.com>2006-05-31 11:27:52 +0200
commit9a1004d0c11be41c83d06a67dfe74567a41ae582 (patch)
tree759f686bb1d2999b56b2b91c30c9d62480156965 /include
parent[PATCH] libata-hp-prep: implement followup softreset handling (diff)
downloadlinux-9a1004d0c11be41c83d06a67dfe74567a41ae582.tar.xz
linux-9a1004d0c11be41c83d06a67dfe74567a41ae582.zip
[PATCH] libata: export ata_hsm_move()
ata_hsm_move() will be used by LLDDs which depend on standard PIO HSM but implement their own interrupt handlers. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index fe5f53943c44..a1ceb5b67b97 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -723,6 +723,8 @@ extern void ata_bmdma_drive_eh(struct ata_port *ap, ata_prereset_fn_t prereset,
ata_postreset_fn_t postreset);
extern void ata_bmdma_error_handler(struct ata_port *ap);
extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc);
+extern int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
+ u8 status, int in_wq);
extern void ata_qc_complete(struct ata_queued_cmd *qc);
extern int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active,
void (*finish_qc)(struct ata_queued_cmd *));