diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-10-27 22:08:46 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-01 22:40:28 -0500 |
commit | 6919a0a6cfdad9e83d02cef5973826acd416560c (patch) | |
tree | 7f3d444c1c12077efe0824b8cb02b78a877c16d2 /include/linux | |
parent | fbbb262d9ea9bdbd79d7058271560e9990bc62d3 (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')
-rw-r--r-- | include/linux/libata.h | 3 |
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 | ||
312 | enum hsm_task_states { | 314 | enum 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); |
788 | extern void ata_id_c_string(const u16 *id, unsigned char *s, | 790 | extern 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); |
792 | extern unsigned long ata_device_blacklisted(const struct ata_device *dev); | ||
790 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); | 793 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); |
791 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); | 794 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); |
792 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); | 795 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); |