Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247757
b: refs/heads/master
c: 0afc6f5
h: refs/heads/master
i:
  247755: 937a47c
v: v3
  • Loading branch information
Pavel Herrmann authored and Jeff Garzik committed May 20, 2011
1 parent ef1eb66 commit 4d732ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfeec8ca15c9c06c1978a25248e2bd11c4a26d72
refs/heads/master: 0afc6f5ba95419fd505e60637f7645425f16e407
10 changes: 10 additions & 0 deletions trunk/drivers/ata/libata-pmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,16 @@ static void sata_pmp_quirks(struct ata_port *ap)
* otherwise. Don't try hard to recover it.
*/
ap->pmp_link[ap->nr_pmp_links - 1].flags |= ATA_LFLAG_NO_RETRY;
} else if (vendor == 0x197b && devid == 0x2352) {
/* chip found in Thermaltake BlackX Duet, jmicron JMB350? */
ata_for_each_link(link, ap, EDGE) {
/* SRST breaks detection and disks get misclassified
* LPM disabled to avoid potential problems
*/
link->flags |= ATA_LFLAG_NO_LPM |
ATA_LFLAG_NO_SRST |
ATA_LFLAG_ASSUME_ATA;
}
}
}

Expand Down

0 comments on commit 4d732ca

Please sign in to comment.