diff options
author | Tejun Heo <htejun@gmail.com> | 2006-01-06 09:56:18 +0100 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-01-06 09:56:18 +0100 |
commit | 9a3dccc42556537a48f39ee9a9e7ab90a933f766 (patch) | |
tree | e67d7b314d4e0732bfa5558bef4f1941ea80cb58 /drivers/scsi/libata.h | |
parent | 93c9338713d4e11102cd09b4670ad42a336b06a3 (diff) | |
download | linux-3.10-9a3dccc42556537a48f39ee9a9e7ab90a933f766.tar.gz linux-3.10-9a3dccc42556537a48f39ee9a9e7ab90a933f766.tar.bz2 linux-3.10-9a3dccc42556537a48f39ee9a9e7ab90a933f766.zip |
[BLOCK] add FUA support to libata
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index 251e53bdc6e..e03ce48b7b4 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h @@ -32,6 +32,8 @@ #define DRV_VERSION "1.20" /* must be exactly four chars */ struct ata_scsi_args { + struct ata_port *ap; + struct ata_device *dev; u16 *id; struct scsi_cmnd *cmd; void (*done)(struct scsi_cmnd *); @@ -41,7 +43,7 @@ struct ata_scsi_args { extern int atapi_enabled; extern struct ata_queued_cmd *ata_qc_new_init(struct ata_port *ap, struct ata_device *dev); -extern void ata_rwcmd_protocol(struct ata_queued_cmd *qc); +extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc); extern void ata_qc_free(struct ata_queued_cmd *qc); extern int ata_qc_issue(struct ata_queued_cmd *qc); extern int ata_check_atapi_dma(struct ata_queued_cmd *qc); |