[PATCH 2.6.22 2/3] Add LED trigger to libata core

From: Tony Vroon
Date: Mon Mar 19 2007 - 17:50:41 EST


This hooks up ata_ac_issue_prot_with_ledtrigger.
Respin of an earlier patch, based on comments by Tejun Heo & Alan Cox.

Signed-off-by: Tony Vroon <chainsaw@xxxxxxxxxx>

--- linux-2.6/include/linux/libata.h.orig 2007-03-19 21:15:04.000000000 +0000
+++ linux-2.6/include/linux/libata.h 2007-03-19 21:15:30.000000000 +0000
@@ -786,6 +786,7 @@
extern void ata_qc_prep(struct ata_queued_cmd *qc);
extern void ata_noop_qc_prep(struct ata_queued_cmd *qc);
extern unsigned int ata_qc_issue_prot(struct ata_queued_cmd *qc);
+extern unsigned int ata_qc_issue_prot_with_ledtrigger(struct ata_queued_cmd *qc);
extern void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf,
unsigned int buflen);
extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/