diff options
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index c7a1fa1c9abc..a4b55dc9c698 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h | |||
@@ -39,6 +39,7 @@ struct ata_scsi_args { | |||
39 | 39 | ||
40 | /* libata-core.c */ | 40 | /* libata-core.c */ |
41 | extern int atapi_enabled; | 41 | extern int atapi_enabled; |
42 | extern int ata_qc_complete_noop(struct ata_queued_cmd *qc, u8 drv_stat); | ||
42 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, | 43 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, |
43 | struct ata_device *dev); | 44 | struct ata_device *dev); |
44 | extern void ata_qc_free(struct ata_queued_cmd *qc); | 45 | extern void ata_qc_free(struct ata_queued_cmd *qc); |
@@ -51,6 +52,8 @@ extern void swap_buf_le16(u16 *buf, unsigned int buf_words); | |||
51 | 52 | ||
52 | 53 | ||
53 | /* libata-scsi.c */ | 54 | /* libata-scsi.c */ |
55 | extern void atapi_request_sense(struct ata_port *ap, struct ata_device *dev, | ||
56 | struct scsi_cmnd *cmd); | ||
54 | extern void ata_scsi_scan_host(struct ata_port *ap); | 57 | extern void ata_scsi_scan_host(struct ata_port *ap); |
55 | extern void ata_to_sense_error(struct ata_queued_cmd *qc, u8 drv_stat); | 58 | extern void ata_to_sense_error(struct ata_queued_cmd *qc, u8 drv_stat); |
56 | extern int ata_scsi_error(struct Scsi_Host *host); | 59 | extern int ata_scsi_error(struct Scsi_Host *host); |