diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:58:24 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:58:24 -0400 |
commit | 6d97dbd72da31a0e334f251fa9df4be9fab6fde2 (patch) | |
tree | f31e023080474ba91529d7e1b1468cc999e32c73 /include/linux/libata.h | |
parent | 022bdb075b9e1f224088a0b268de56268d7bc5b6 (diff) |
[PATCH] libata-eh: implement BMDMA EH
Implement stock BMDMA error handling methods.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 9fe46073cf8c..6ccacbf889e3 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -661,6 +661,14 @@ extern void ata_bmdma_start (struct ata_queued_cmd *qc); | |||
661 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); | 661 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); |
662 | extern u8 ata_bmdma_status(struct ata_port *ap); | 662 | extern u8 ata_bmdma_status(struct ata_port *ap); |
663 | extern void ata_bmdma_irq_clear(struct ata_port *ap); | 663 | extern void ata_bmdma_irq_clear(struct ata_port *ap); |
664 | extern void ata_bmdma_freeze(struct ata_port *ap); | ||
665 | extern void ata_bmdma_thaw(struct ata_port *ap); | ||
666 | extern void ata_bmdma_drive_eh(struct ata_port *ap, | ||
667 | ata_reset_fn_t softreset, | ||
668 | ata_reset_fn_t hardreset, | ||
669 | ata_postreset_fn_t postreset); | ||
670 | extern void ata_bmdma_error_handler(struct ata_port *ap); | ||
671 | extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc); | ||
664 | extern void ata_qc_complete(struct ata_queued_cmd *qc); | 672 | extern void ata_qc_complete(struct ata_queued_cmd *qc); |
665 | extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd, | 673 | extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd, |
666 | void (*done)(struct scsi_cmnd *)); | 674 | void (*done)(struct scsi_cmnd *)); |