diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2015-07-15 21:03:23 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-07-16 12:15:45 -0400 |
commit | 9051bd393cf25e76dfb45409792719a854661500 (patch) | |
tree | 735074988493542307959b38b0f8374e8bfaf083 | |
parent | d531be2ca2f27cca5f041b6a140504999144a617 (diff) | |
download | op-kernel-dev-9051bd393cf25e76dfb45409792719a854661500.zip op-kernel-dev-9051bd393cf25e76dfb45409792719a854661500.tar.gz |
libata: Do not blacklist M510DC
A new Micron drive was just announced, once again recycling the first
part of the model string. Add an underscore to the M510/M550 pattern to
avoid picking up the new DC drive.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | drivers/ata/libata-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 12b176a..db5d9f7 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4240,7 +4240,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "Crucial_CT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, - { "Micron_M5[15]0*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM | + { "Micron_M5[15]0_*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "Crucial_CT*M550*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, |