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
commit70e6ad0c6d1e6cb9ee3c036a85ca2561eb1fd766 (patch)
tree9af1423c89d7f58093d2ee3cfc2112c2060ebfca /drivers/ata/libata.h
parentbd056d7eeb55d696556ee4f5ee2acb67b2d16df4 (diff)
[PATCH] libata: prepare ata_sg_clean() for invocation from EH
Make ata_sg_clean() global and don't allow NCQ for internal commands. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 60576b1237e4..1ff3f59504c9 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -73,6 +73,7 @@ extern int sata_down_spd_limit(struct ata_port *ap);
73extern int sata_set_spd_needed(struct ata_port *ap); 73extern int sata_set_spd_needed(struct ata_port *ap);
74extern int ata_down_xfermask_limit(struct ata_device *dev, int force_pio0); 74extern int ata_down_xfermask_limit(struct ata_device *dev, int force_pio0);
75extern int ata_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev); 75extern int ata_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev);
76extern void ata_sg_clean(struct ata_queued_cmd *qc);
76extern void ata_qc_free(struct ata_queued_cmd *qc); 77extern void ata_qc_free(struct ata_queued_cmd *qc);
77extern void ata_qc_issue(struct ata_queued_cmd *qc); 78extern void ata_qc_issue(struct ata_queued_cmd *qc);
78extern void __ata_qc_complete(struct ata_queued_cmd *qc); 79extern void __ata_qc_complete(struct ata_queued_cmd *qc);