diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-12 15:45:22 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-12 15:45:22 -0400 |
commit | b095518ef51c37658c58367bd19240b8a113f25c (patch) | |
tree | fc65e55b8786c48067338b8097bae1cbc13fbaac /drivers/scsi/libata.h | |
parent | 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 (diff) |
[libata] ATA passthru (arbitrary ATA command execution)
Authors:
Brett Russ <russb@emc.com>
John W. Linville <linville@tuxdriver.com>
Andy Warner <andyw@pobox.com>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index 6518226b8f87..c595f5f58c16 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h | |||
@@ -44,10 +44,11 @@ extern void ata_dev_select(struct ata_port *ap, unsigned int device, | |||
44 | unsigned int wait, unsigned int can_sleep); | 44 | unsigned int wait, unsigned int can_sleep); |
45 | extern void ata_tf_to_host_nolock(struct ata_port *ap, struct ata_taskfile *tf); | 45 | extern void ata_tf_to_host_nolock(struct ata_port *ap, struct ata_taskfile *tf); |
46 | extern void swap_buf_le16(u16 *buf, unsigned int buf_words); | 46 | extern void swap_buf_le16(u16 *buf, unsigned int buf_words); |
47 | extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg); | ||
48 | extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); | ||
47 | 49 | ||
48 | 50 | ||
49 | /* libata-scsi.c */ | 51 | /* libata-scsi.c */ |
50 | extern void ata_to_sense_error(struct ata_queued_cmd *qc, u8 drv_stat); | ||
51 | extern int ata_scsi_error(struct Scsi_Host *host); | 52 | extern int ata_scsi_error(struct Scsi_Host *host); |
52 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, | 53 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, |
53 | unsigned int buflen); | 54 | unsigned int buflen); |