~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/ata/libata-pmp.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
449
449
                 * otherwise.  Don't try hard to recover it.
450
450
                 */
451
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