diff options
author | Mark Lord <kernel@teksavvy.com> | 2010-07-01 18:18:12 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-08-01 19:36:03 -0400 |
commit | 7da4c935a2a2e3a6e86458d11b06a90a3649dc81 (patch) | |
tree | fd620793ec26f0b3c5874edd4d007fb523fa19cd /drivers/ata | |
parent | dbaf5083bf07a1c14b15828a3aac92f0ce11543c (diff) |
libata: reduce blacklist size even more (v2)
Take further advantage of the new glob_match() function to reduce
the blacklist size. There are even more savings possible, but how
far do we want to go with this?
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.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index af02ff36cf2b..2984e45bc16b 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -4167,15 +4167,13 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { | |||
4167 | { "WDC AC23200L", "21.10N21", ATA_HORKAGE_NODMA }, | 4167 | { "WDC AC23200L", "21.10N21", ATA_HORKAGE_NODMA }, |
4168 | { "Compaq CRD-8241B", NULL, ATA_HORKAGE_NODMA }, | 4168 | { "Compaq CRD-8241B", NULL, ATA_HORKAGE_NODMA }, |
4169 | { "CRD-8400B", NULL, ATA_HORKAGE_NODMA }, | 4169 | { "CRD-8400B", NULL, ATA_HORKAGE_NODMA }, |
4170 | { "CRD-8480B", NULL, ATA_HORKAGE_NODMA }, | 4170 | { "CRD-848[02]B", NULL, ATA_HORKAGE_NODMA }, |
4171 | { "CRD-8482B", NULL, ATA_HORKAGE_NODMA }, | ||
4172 | { "CRD-84", NULL, ATA_HORKAGE_NODMA }, | 4171 | { "CRD-84", NULL, ATA_HORKAGE_NODMA }, |
4173 | { "SanDisk SDP3B", NULL, ATA_HORKAGE_NODMA }, | 4172 | { "SanDisk SDP3B", NULL, ATA_HORKAGE_NODMA }, |
4174 | { "SanDisk SDP3B-64", NULL, ATA_HORKAGE_NODMA }, | 4173 | { "SanDisk SDP3B-64", NULL, ATA_HORKAGE_NODMA }, |
4175 | { "SANYO CD-ROM CRD", NULL, ATA_HORKAGE_NODMA }, | 4174 | { "SANYO CD-ROM CRD", NULL, ATA_HORKAGE_NODMA }, |
4176 | { "HITACHI CDR-8", NULL, ATA_HORKAGE_NODMA }, | 4175 | { "HITACHI CDR-8", NULL, ATA_HORKAGE_NODMA }, |
4177 | { "HITACHI CDR-8335", NULL, ATA_HORKAGE_NODMA }, | 4176 | { "HITACHI CDR-8[34]35",NULL, ATA_HORKAGE_NODMA }, |
4178 | { "HITACHI CDR-8435", NULL, ATA_HORKAGE_NODMA }, | ||
4179 | { "Toshiba CD-ROM XM-6202B", NULL, ATA_HORKAGE_NODMA }, | 4177 | { "Toshiba CD-ROM XM-6202B", NULL, ATA_HORKAGE_NODMA }, |
4180 | { "TOSHIBA CD-ROM XM-1702BC", NULL, ATA_HORKAGE_NODMA }, | 4178 | { "TOSHIBA CD-ROM XM-1702BC", NULL, ATA_HORKAGE_NODMA }, |
4181 | { "CD-532E-A", NULL, ATA_HORKAGE_NODMA }, | 4179 | { "CD-532E-A", NULL, ATA_HORKAGE_NODMA }, |
@@ -4255,12 +4253,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { | |||
4255 | /* Devices which get the IVB wrong */ | 4253 | /* Devices which get the IVB wrong */ |
4256 | { "QUANTUM FIREBALLlct10 05", "A03.0900", ATA_HORKAGE_IVB, }, | 4254 | { "QUANTUM FIREBALLlct10 05", "A03.0900", ATA_HORKAGE_IVB, }, |
4257 | /* Maybe we should just blacklist TSSTcorp... */ | 4255 | /* Maybe we should just blacklist TSSTcorp... */ |
4258 | { "TSSTcorp CDDVDW SH-S202H", "SB00", ATA_HORKAGE_IVB, }, | 4256 | { "TSSTcorp CDDVDW SH-S202[HJN]", "SB0[01]", ATA_HORKAGE_IVB, }, |
4259 | { "TSSTcorp CDDVDW SH-S202H", "SB01", ATA_HORKAGE_IVB, }, | ||
4260 | { "TSSTcorp CDDVDW SH-S202J", "SB00", ATA_HORKAGE_IVB, }, | ||
4261 | { "TSSTcorp CDDVDW SH-S202J", "SB01", ATA_HORKAGE_IVB, }, | ||
4262 | { "TSSTcorp CDDVDW SH-S202N", "SB00", ATA_HORKAGE_IVB, }, | ||
4263 | { "TSSTcorp CDDVDW SH-S202N", "SB01", ATA_HORKAGE_IVB, }, | ||
4264 | 4257 | ||
4265 | /* Devices that do not need bridging limits applied */ | 4258 | /* Devices that do not need bridging limits applied */ |
4266 | { "MTRON MSP-SATA*", NULL, ATA_HORKAGE_BRIDGE_OK, }, | 4259 | { "MTRON MSP-SATA*", NULL, ATA_HORKAGE_BRIDGE_OK, }, |