aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/libata-pmp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c
index 3120596d4afc..f06b7ea590d3 100644
--- a/drivers/ata/libata-pmp.c
+++ b/drivers/ata/libata-pmp.c
@@ -449,6 +449,16 @@ static void sata_pmp_quirks(struct ata_port *ap)
449 * otherwise. Don't try hard to recover it. 449 * otherwise. Don't try hard to recover it.
450 */ 450 */
451 ap->pmp_link[ap->nr_pmp_links - 1].flags |= ATA_LFLAG_NO_RETRY; 451 ap->pmp_link[ap->nr_pmp_links - 1].flags |= ATA_LFLAG_NO_RETRY;
452 } else if (vendor == 0x197b && devid == 0x2352) {
453 /* chip found in Thermaltake BlackX Duet, jmicron JMB350? */
454 ata_for_each_link(link, ap, EDGE) {
455 /* SRST breaks detection and disks get misclassified
456 * LPM disabled to avoid potential problems
457 */
458 link->flags |= ATA_LFLAG_NO_LPM |
459 ATA_LFLAG_NO_SRST |
460 ATA_LFLAG_ASSUME_ATA;
461 }
452 } 462 }
453} 463}
454 464