diff options
author | Tejun Heo <htejun@gmail.com> | 2006-11-14 08:47:10 -0500 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-12-03 03:56:24 -0500 |
commit | bd056d7eeb55d696556ee4f5ee2acb67b2d16df4 (patch) | |
tree | f6ca604abc43d73d42354d977f1bcedd262dbcda /drivers/ata/libata.h | |
parent | 2432697ba0ce312d60be5009ffe1fa054a761bb9 (diff) |
[PATCH] libata: separate out rw ATA taskfile building into ata_build_rw_tf()
Separate out rw ATA taskfile building from ata_scsi_rw_xlat() into
ata_build_rw_tf(). This will be used to improve media error handling.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index ca6f36c13115..60576b1237e4 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -51,7 +51,9 @@ extern int atapi_enabled; | |||
51 | extern int atapi_dmadir; | 51 | extern int atapi_dmadir; |
52 | extern int libata_fua; | 52 | extern int libata_fua; |
53 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev); | 53 | extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev); |
54 | extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc); | 54 | extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, |
55 | u64 block, u32 n_block, unsigned int tf_flags, | ||
56 | unsigned int tag); | ||
55 | extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev); | 57 | extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev); |
56 | extern void ata_dev_disable(struct ata_device *dev); | 58 | extern void ata_dev_disable(struct ata_device *dev); |
57 | extern void ata_port_flush_task(struct ata_port *ap); | 59 | extern void ata_port_flush_task(struct ata_port *ap); |