diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-05 17:09:16 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-05 17:09:16 -0400 |
commit | a939c9631527053aa38aa8795a6f7203c7f20b69 (patch) | |
tree | ef7aabee7439909153ef05f2651d8f456dd39ce1 /drivers/scsi/libata.h | |
parent | a15dbeb4772626a015337dea06da67095aec3862 (diff) | |
download | linux-3.10-a939c9631527053aa38aa8795a6f7203c7f20b69.tar.gz linux-3.10-a939c9631527053aa38aa8795a6f7203c7f20b69.tar.bz2 linux-3.10-a939c9631527053aa38aa8795a6f7203c7f20b69.zip |
libata: move atapi_request_sense() to libata-scsi module
No content changes, just moving code around.
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 c7a1fa1c9ab..a4b55dc9c69 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h @@ -39,6 +39,7 @@ struct ata_scsi_args { /* libata-core.c */ extern int atapi_enabled; +extern int ata_qc_complete_noop(struct ata_queued_cmd *qc, u8 drv_stat); extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, struct ata_device *dev); 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); /* libata-scsi.c */ +extern void atapi_request_sense(struct ata_port *ap, struct ata_device *dev, + struct scsi_cmnd *cmd); extern void ata_scsi_scan_host(struct ata_port *ap); extern void ata_to_sense_error(struct ata_queued_cmd *qc, u8 drv_stat); extern int ata_scsi_error(struct Scsi_Host *host); |