mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
[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>
This commit is contained in:
parent
664faf09a0
commit
9a1004d0c1
2 changed files with 5 additions and 3 deletions
|
@ -4140,8 +4140,7 @@ static void ata_hsm_qc_complete(struct ata_queued_cmd *qc, int in_wq)
|
||||||
* RETURNS:
|
* RETURNS:
|
||||||
* 1 when poll next status needed, 0 otherwise.
|
* 1 when poll next status needed, 0 otherwise.
|
||||||
*/
|
*/
|
||||||
|
int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
|
||||||
static int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
|
|
||||||
u8 status, int in_wq)
|
u8 status, int in_wq)
|
||||||
{
|
{
|
||||||
unsigned long flags = 0;
|
unsigned long flags = 0;
|
||||||
|
@ -5885,6 +5884,7 @@ EXPORT_SYMBOL_GPL(ata_device_add);
|
||||||
EXPORT_SYMBOL_GPL(ata_host_set_remove);
|
EXPORT_SYMBOL_GPL(ata_host_set_remove);
|
||||||
EXPORT_SYMBOL_GPL(ata_sg_init);
|
EXPORT_SYMBOL_GPL(ata_sg_init);
|
||||||
EXPORT_SYMBOL_GPL(ata_sg_init_one);
|
EXPORT_SYMBOL_GPL(ata_sg_init_one);
|
||||||
|
EXPORT_SYMBOL_GPL(ata_hsm_move);
|
||||||
EXPORT_SYMBOL_GPL(ata_qc_complete);
|
EXPORT_SYMBOL_GPL(ata_qc_complete);
|
||||||
EXPORT_SYMBOL_GPL(ata_qc_complete_multiple);
|
EXPORT_SYMBOL_GPL(ata_qc_complete_multiple);
|
||||||
EXPORT_SYMBOL_GPL(ata_qc_issue_prot);
|
EXPORT_SYMBOL_GPL(ata_qc_issue_prot);
|
||||||
|
|
|
@ -723,6 +723,8 @@ extern void ata_bmdma_drive_eh(struct ata_port *ap, ata_prereset_fn_t prereset,
|
||||||
ata_postreset_fn_t postreset);
|
ata_postreset_fn_t postreset);
|
||||||
extern void ata_bmdma_error_handler(struct ata_port *ap);
|
extern void ata_bmdma_error_handler(struct ata_port *ap);
|
||||||
extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc);
|
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 void ata_qc_complete(struct ata_queued_cmd *qc);
|
||||||
extern int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active,
|
extern int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active,
|
||||||
void (*finish_qc)(struct ata_queued_cmd *));
|
void (*finish_qc)(struct ata_queued_cmd *));
|
||||||
|
|
Loading…
Reference in a new issue