diff options
author | Pavel Herrmann <morpheus.ibis@gmail.com> | 2011-04-28 16:32:54 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-05-19 20:48:59 -0400 |
commit | 0afc6f5ba95419fd505e60637f7645425f16e407 (patch) | |
tree | 3c14a2e304cbd2e6b1ae2b9085cd70034499ea2d /drivers/ata/libata-pmp.c | |
parent | bfeec8ca15c9c06c1978a25248e2bd11c4a26d72 (diff) |
libata-pmp: add support for Thermaltake BlackX Duet esata drive dock
Some errors still show up, but the dock works, both drives can be
accessed at the same time
The chip maker and designation is unknown - possibly jmicron JMB350?
Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/ata/libata-pmp.c')
-rw-r--r-- | drivers/ata/libata-pmp.c | 10 |
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 | ||