aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-04-07 09:47:20 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:23 -0400
commit79f97dadfe9b4b561634d202225ba2fa910dc225 (patch)
tree7bea39a135c7c87b7430d6c071288a05990b9309 /include/linux
parent22183bf569c8600ff414ac25f23134044e0ef453 (diff)
libata: drop @finish_qc from ata_qc_complete_multiple()
ata_qc_complete_multiple() took @finish_qc and called it on every qc before completing it. This was to give opportunity to update TF cache before ata_qc_complete() tries to fill result_tf. Now that result TF is a separate operation, this is no longer necessary. Update sata_sil24, which was the only user of this mechanism, such that it implements its own ops->qc_fill_rtf() and drop @finish_qc from ata_qc_complete_multiple(). Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libata.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index bb4200d42f0d..1d8b6b7de0a2 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -924,8 +924,7 @@ extern void ata_id_string(const u16 *id, unsigned char *s,
924extern void ata_id_c_string(const u16 *id, unsigned char *s, 924extern void ata_id_c_string(const u16 *id, unsigned char *s,
925 unsigned int ofs, unsigned int len); 925 unsigned int ofs, unsigned int len);
926extern void ata_qc_complete(struct ata_queued_cmd *qc); 926extern void ata_qc_complete(struct ata_queued_cmd *qc);
927extern int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active, 927extern int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active);
928 void (*finish_qc)(struct ata_queued_cmd *));
929extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd, 928extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd,
930 void (*done)(struct scsi_cmnd *)); 929 void (*done)(struct scsi_cmnd *));
931extern int ata_std_bios_param(struct scsi_device *sdev, 930extern int ata_std_bios_param(struct scsi_device *sdev,