aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libata.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 88c6fa84ed74..01c233303aee 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -693,6 +693,14 @@ struct ata_port_operations {
693 693
694 void (*freeze)(struct ata_port *ap); 694 void (*freeze)(struct ata_port *ap);
695 void (*thaw)(struct ata_port *ap); 695 void (*thaw)(struct ata_port *ap);
696 ata_prereset_fn_t prereset;
697 ata_reset_fn_t softreset;
698 ata_reset_fn_t hardreset;
699 ata_postreset_fn_t postreset;
700 ata_prereset_fn_t pmp_prereset;
701 ata_reset_fn_t pmp_softreset;
702 ata_reset_fn_t pmp_hardreset;
703 ata_postreset_fn_t pmp_postreset;
696 void (*error_handler)(struct ata_port *ap); 704 void (*error_handler)(struct ata_port *ap);
697 void (*post_internal_cmd)(struct ata_queued_cmd *qc); 705 void (*post_internal_cmd)(struct ata_queued_cmd *qc);
698 706
@@ -909,10 +917,6 @@ extern void ata_bmdma_irq_clear(struct ata_port *ap);
909extern void ata_noop_irq_clear(struct ata_port *ap); 917extern void ata_noop_irq_clear(struct ata_port *ap);
910extern void ata_bmdma_freeze(struct ata_port *ap); 918extern void ata_bmdma_freeze(struct ata_port *ap);
911extern void ata_bmdma_thaw(struct ata_port *ap); 919extern void ata_bmdma_thaw(struct ata_port *ap);
912extern void ata_bmdma_drive_eh(struct ata_port *ap, ata_prereset_fn_t prereset,
913 ata_reset_fn_t softreset,
914 ata_reset_fn_t hardreset,
915 ata_postreset_fn_t postreset);
916extern void ata_bmdma_error_handler(struct ata_port *ap); 920extern void ata_bmdma_error_handler(struct ata_port *ap);
917extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc); 921extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc);
918extern int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, 922extern int ata_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
@@ -1056,11 +1060,7 @@ extern int sata_pmp_std_prereset(struct ata_link *link, unsigned long deadline);
1056extern int sata_pmp_std_hardreset(struct ata_link *link, unsigned int *class, 1060extern int sata_pmp_std_hardreset(struct ata_link *link, unsigned int *class,
1057 unsigned long deadline); 1061 unsigned long deadline);
1058extern void sata_pmp_std_postreset(struct ata_link *link, unsigned int *class); 1062extern void sata_pmp_std_postreset(struct ata_link *link, unsigned int *class);
1059extern void sata_pmp_do_eh(struct ata_port *ap, 1063extern void sata_pmp_error_handler(struct ata_port *ap);
1060 ata_prereset_fn_t prereset, ata_reset_fn_t softreset,
1061 ata_reset_fn_t hardreset, ata_postreset_fn_t postreset,
1062 ata_prereset_fn_t pmp_prereset, ata_reset_fn_t pmp_softreset,
1063 ata_reset_fn_t pmp_hardreset, ata_postreset_fn_t pmp_postreset);
1064 1064
1065/* 1065/*
1066 * EH 1066 * EH
@@ -1080,6 +1080,7 @@ extern void ata_eh_qc_retry(struct ata_queued_cmd *qc);
1080extern void ata_do_eh(struct ata_port *ap, ata_prereset_fn_t prereset, 1080extern void ata_do_eh(struct ata_port *ap, ata_prereset_fn_t prereset,
1081 ata_reset_fn_t softreset, ata_reset_fn_t hardreset, 1081 ata_reset_fn_t softreset, ata_reset_fn_t hardreset,
1082 ata_postreset_fn_t postreset); 1082 ata_postreset_fn_t postreset);
1083extern void ata_std_error_handler(struct ata_port *ap);
1083 1084
1084/* 1085/*
1085 * Base operations to inherit from and initializers for sht 1086 * Base operations to inherit from and initializers for sht