aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-11-14 08:47:10 -0500
committerTejun Heo <htejun@gmail.com>2006-12-03 03:56:24 -0500
commitbd056d7eeb55d696556ee4f5ee2acb67b2d16df4 (patch)
treef6ca604abc43d73d42354d977f1bcedd262dbcda /drivers/ata/libata.h
parent2432697ba0ce312d60be5009ffe1fa054a761bb9 (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.h4
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;
51extern int atapi_dmadir; 51extern int atapi_dmadir;
52extern int libata_fua; 52extern int libata_fua;
53extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev); 53extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev);
54extern int ata_rwcmd_protocol(struct ata_queued_cmd *qc); 54extern 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);
55extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev); 57extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev);
56extern void ata_dev_disable(struct ata_device *dev); 58extern void ata_dev_disable(struct ata_device *dev);
57extern void ata_port_flush_task(struct ata_port *ap); 59extern void ata_port_flush_task(struct ata_port *ap);