diff options
author | Douglas Gilbert <dougg@torque.net> | 2005-10-09 08:55:41 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-09 08:55:41 -0400 |
commit | 845c5834d0aa60eb1588397696e7fabbaab2d3b0 (patch) | |
tree | 963d4a2c132273cf6df68a3846326a08cdbe17f4 /drivers/scsi/libata.h | |
parent | d95300758bed9e0f783f3e3b4fd037bf0a21abe0 (diff) | |
download | linux-3.10-845c5834d0aa60eb1588397696e7fabbaab2d3b0.tar.gz linux-3.10-845c5834d0aa60eb1588397696e7fabbaab2d3b0.tar.bz2 linux-3.10-845c5834d0aa60eb1588397696e7fabbaab2d3b0.zip |
[libata scsi] add ata_scsi_set_sense helper
- add extern ata_scsi_set_sense() to build SCSI
fixed sense data and corresponding SCSI status
Signed-off-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index a4b55dc9c69..4622e643ffd 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h @@ -80,6 +80,8 @@ extern unsigned int ata_scsiop_report_luns(struct ata_scsi_args *args, u8 *rbuf, extern void ata_scsi_badcmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *), u8 asc, u8 ascq); +extern void ata_scsi_set_sense(struct scsi_cmnd *cmd, + u8 sk, u8 asc, u8 ascq); extern void ata_scsi_rbuf_fill(struct ata_scsi_args *args, unsigned int (*actor) (struct ata_scsi_args *args, u8 *rbuf, unsigned int buflen)); |