diff options
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index 1c755b14521a..31efc2e60b69 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h | |||
@@ -45,7 +45,20 @@ extern int libata_fua; | |||
45 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, | 45 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, |
46 | struct ata_device *dev); | 46 | struct ata_device *dev); |
47 | extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc); | 47 | extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc); |
48 | extern void ata_dev_disable(struct ata_port *ap, struct ata_device *dev); | ||
48 | extern void ata_port_flush_task(struct ata_port *ap); | 49 | extern void ata_port_flush_task(struct ata_port *ap); |
50 | extern 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); | ||
53 | extern int ata_down_sata_spd_limit(struct ata_port *ap); | ||
54 | extern int ata_set_sata_spd_needed(struct ata_port *ap); | ||
55 | extern int ata_down_xfermask_limit(struct ata_port *ap, struct ata_device *dev, | ||
56 | int force_pio0); | ||
57 | extern int ata_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev); | ||
58 | extern 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); | ||
49 | extern void ata_qc_free(struct ata_queued_cmd *qc); | 62 | extern void ata_qc_free(struct ata_queued_cmd *qc); |
50 | extern void ata_qc_issue(struct ata_queued_cmd *qc); | 63 | extern void ata_qc_issue(struct ata_queued_cmd *qc); |
51 | extern int ata_check_atapi_dma(struct ata_queued_cmd *qc); | 64 | extern int ata_check_atapi_dma(struct ata_queued_cmd *qc); |
@@ -60,7 +73,6 @@ extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); | |||
60 | extern struct scsi_transport_template ata_scsi_transport_template; | 73 | extern struct scsi_transport_template ata_scsi_transport_template; |
61 | 74 | ||
62 | extern void ata_scsi_scan_host(struct ata_port *ap); | 75 | extern void ata_scsi_scan_host(struct ata_port *ap); |
63 | extern int ata_scsi_error(struct Scsi_Host *host); | ||
64 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, | 76 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, |
65 | unsigned int buflen); | 77 | unsigned int buflen); |
66 | 78 | ||
@@ -90,4 +102,7 @@ extern void ata_scsi_rbuf_fill(struct ata_scsi_args *args, | |||
90 | unsigned int (*actor) (struct ata_scsi_args *args, | 102 | unsigned int (*actor) (struct ata_scsi_args *args, |
91 | u8 *rbuf, unsigned int buflen)); | 103 | u8 *rbuf, unsigned int buflen)); |
92 | 104 | ||
105 | /* libata-eh.c */ | ||
106 | extern enum scsi_eh_timer_return ata_scsi_timed_out(struct scsi_cmnd *cmd); | ||
107 | |||
93 | #endif /* __LIBATA_H__ */ | 108 | #endif /* __LIBATA_H__ */ |