aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorMark Lord <kernel@teksavvy.com>2010-07-05 18:53:37 -0400
committerJeff Garzik <jgarzik@redhat.com>2010-08-01 19:36:04 -0400
commit4d1f9082251a835ea387b47bb9dd26980bf8e0d0 (patch)
tree09d8b10c34666e68b602bf7b3a9c0d1dc1f9d626 /drivers/ata
parent2f9e4d16c5b6f627670f1641b3f288d16d84b202 (diff)
[libata] update blacklist for new hyphenated pattern ranges (v2)
Take further advantage of the new glob_match() function to reduce the blacklist size, this time making use of "character ranges" in the patterns. Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index eefb948f0632..a0a4d6968400 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4209,22 +4209,16 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
4209 { "OCZ CORE_SSD", "02.10104", ATA_HORKAGE_NONCQ }, 4209 { "OCZ CORE_SSD", "02.10104", ATA_HORKAGE_NONCQ },
4210 4210
4211 /* Seagate NCQ + FLUSH CACHE firmware bug */ 4211 /* Seagate NCQ + FLUSH CACHE firmware bug */
4212 { "ST31500341AS", "SD1[56789]", ATA_HORKAGE_NONCQ | 4212 { "ST31500341AS", "SD1[5-9]", ATA_HORKAGE_NONCQ |
4213 ATA_HORKAGE_FIRMWARE_WARN }, 4213 ATA_HORKAGE_FIRMWARE_WARN },
4214 4214
4215 { "ST31000333AS", "SD1[56789]", ATA_HORKAGE_NONCQ | 4215 { "ST31000333AS", "SD1[5-9]", ATA_HORKAGE_NONCQ |
4216 ATA_HORKAGE_FIRMWARE_WARN }, 4216 ATA_HORKAGE_FIRMWARE_WARN },
4217 4217
4218 { "ST3640623AS", "SD1[56789]", ATA_HORKAGE_NONCQ | 4218 { "ST3640[36]23AS", "SD1[5-9]", ATA_HORKAGE_NONCQ |
4219 ATA_HORKAGE_FIRMWARE_WARN }, 4219 ATA_HORKAGE_FIRMWARE_WARN },
4220 4220
4221 { "ST3640323AS", "SD1[56789]", ATA_HORKAGE_NONCQ | 4221 { "ST3320[68]13AS", "SD1[5-9]", ATA_HORKAGE_NONCQ |
4222 ATA_HORKAGE_FIRMWARE_WARN },
4223
4224 { "ST3320813AS", "SD1[56789]", ATA_HORKAGE_NONCQ |
4225 ATA_HORKAGE_FIRMWARE_WARN },
4226
4227 { "ST3320613AS", "SD1[56789]", ATA_HORKAGE_NONCQ |
4228 ATA_HORKAGE_FIRMWARE_WARN }, 4222 ATA_HORKAGE_FIRMWARE_WARN },
4229 4223
4230 /* Blacklist entries taken from Silicon Image 3124/3132 4224 /* Blacklist entries taken from Silicon Image 3124/3132