aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r--drivers/scsi/libata.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h
index 75e9bd5833da..31efc2e60b69 100644
--- a/drivers/scsi/libata.h
+++ b/drivers/scsi/libata.h
@@ -45,7 +45,20 @@ extern int libata_fua;
45extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, 45extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap,
46 struct ata_device *dev); 46 struct ata_device *dev);
47extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc); 47extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc);
48extern void ata_dev_disable(struct ata_port *ap, struct ata_device *dev);
48extern void ata_port_flush_task(struct ata_port *ap); 49extern void ata_port_flush_task(struct ata_port *ap);
50extern unsigned ata_exec_internal(struct ata_port *ap, struct ata_device *dev,
51 struct ata_taskfile *tf, const u8 *cdb,
52 int dma_dir, void *buf, unsigned int buflen);
53extern int ata_down_sata_spd_limit(struct ata_port *ap);
54extern int ata_set_sata_spd_needed(struct ata_port *ap);
55extern int ata_down_xfermask_limit(struct ata_port *ap, struct ata_device *dev,
56 int force_pio0);
57extern int ata_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev);
58extern int ata_do_reset(struct ata_port *ap,
59 ata_reset_fn_t reset,
60 ata_postreset_fn_t postreset,
61 int verbose, unsigned int *classes);
49extern void ata_qc_free(struct ata_queued_cmd *qc); 62extern void ata_qc_free(struct ata_queued_cmd *qc);
50extern void ata_qc_issue(struct ata_queued_cmd *qc); 63extern void ata_qc_issue(struct ata_queued_cmd *qc);
51extern int ata_check_atapi_dma(struct ata_queued_cmd *qc); 64extern int ata_check_atapi_dma(struct ata_queued_cmd *qc);