aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 298f9918e375..9fe46073cf8c 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -247,6 +247,8 @@ enum {
247 247
248 /* how hard are we gonna try to probe/recover devices */ 248 /* how hard are we gonna try to probe/recover devices */
249 ATA_PROBE_MAX_TRIES = 3, 249 ATA_PROBE_MAX_TRIES = 3,
250 ATA_EH_RESET_TRIES = 3,
251 ATA_EH_DEV_TRIES = 3,
250}; 252};
251 253
252enum hsm_task_states { 254enum hsm_task_states {
@@ -727,6 +729,9 @@ extern void ata_eh_thaw_port(struct ata_port *ap);
727extern void ata_eh_qc_complete(struct ata_queued_cmd *qc); 729extern void ata_eh_qc_complete(struct ata_queued_cmd *qc);
728extern void ata_eh_qc_retry(struct ata_queued_cmd *qc); 730extern void ata_eh_qc_retry(struct ata_queued_cmd *qc);
729 731
732extern void ata_do_eh(struct ata_port *ap, ata_reset_fn_t softreset,
733 ata_reset_fn_t hardreset, ata_postreset_fn_t postreset);
734
730/* 735/*
731 * printk helpers 736 * printk helpers
732 */ 737 */