aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-10-27 22:08:46 -0400
committerJeff Garzik <jeff@garzik.org>2006-12-01 22:40:28 -0500
commit6919a0a6cfdad9e83d02cef5973826acd416560c (patch)
tree7f3d444c1c12077efe0824b8cb02b78a877c16d2 /include/linux/libata.h
parentfbbb262d9ea9bdbd79d7058271560e9990bc62d3 (diff)
[PATCH] libata: Revamp blacklist support to allow multiple kinds of blacklisting flaws
Signed-off-by: Alan Cox <alan@redhat.com> Cc: Jeff Garzik <jeff@garzik.org> Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index abd2debebca2..2300fcc37f80 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -307,6 +307,8 @@ enum {
307 (some horkage may be drive/controller pair dependant */ 307 (some horkage may be drive/controller pair dependant */
308 308
309 ATA_HORKAGE_DIAGNOSTIC = (1 << 0), /* Failed boot diag */ 309 ATA_HORKAGE_DIAGNOSTIC = (1 << 0), /* Failed boot diag */
310 ATA_HORKAGE_NODMA = (1 << 1), /* DMA problems */
311 ATA_HORKAGE_NONCQ = (1 << 2), /* Don't use NCQ */
310}; 312};
311 313
312enum hsm_task_states { 314enum hsm_task_states {
@@ -787,6 +789,7 @@ extern void ata_id_string(const u16 *id, unsigned char *s,
787 unsigned int ofs, unsigned int len); 789 unsigned int ofs, unsigned int len);
788extern void ata_id_c_string(const u16 *id, unsigned char *s, 790extern void ata_id_c_string(const u16 *id, unsigned char *s,
789 unsigned int ofs, unsigned int len); 791 unsigned int ofs, unsigned int len);
792extern unsigned long ata_device_blacklisted(const struct ata_device *dev);
790extern void ata_bmdma_setup (struct ata_queued_cmd *qc); 793extern void ata_bmdma_setup (struct ata_queued_cmd *qc);
791extern void ata_bmdma_start (struct ata_queued_cmd *qc); 794extern void ata_bmdma_start (struct ata_queued_cmd *qc);
792extern void ata_bmdma_stop(struct ata_queued_cmd *qc); 795extern void ata_bmdma_stop(struct ata_queued_cmd *qc);