~ubuntu-branches/ubuntu/trusty/libatasmart/trusty

« back to all changes in this revision

Viewing changes to atasmart.strpool.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-09-29 06:25:13 UTC
  • mfrom: (1.2.3 upstream) (1.5.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090929062513-znsd74uqna3xordk
Tags: 0.16-1
* New upstream release.
  - Blacklist some more JMicron bridges. This includes the changes from
    0.15-3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2600
2600
                        goto finish;
2601
2601
                }
2602
2602
 
2603
 
                if ((vid == 0x152d && pid == 0x2329)) {
 
2603
                if ((vid == 0x152d && pid == 0x2329) ||
 
2604
                    (vid == 0x152d && pid == 0x2338) ||
 
2605
                    (vid == 0x152d && pid == 0x2339))
2604
2606
                        /* Some JMicron bridges seem to choke on SMART
2605
2607
                         * commands, so let's explicitly black list
2606
2608
                         * them here.
2607
2609
                         *
2608
 
                         * https://bugzilla.redhat.com/show_bug.cgi?id=515881 */
 
2610
                         * https://bugzilla.redhat.com/show_bug.cgi?id=515881
 
2611
                         *
 
2612
                         * At least some of the JMicron bridges with
 
2613
                         * these vids/pids choke on the jmicron access
 
2614
                         * mode. To make sure we don't break things
 
2615
                         * for people we now disable this by
 
2616
                         * default.*/
2609
2617
                        d->type = SK_DISK_TYPE_NONE;
2610
 
                } else if ((vid == 0x0c0b && pid == 0xb159) ||
 
2618
                else if ((vid == 0x152d && pid == 0x2336))
 
2619
                        /* This JMicron bridge seems to always work
 
2620
                         * with SMART commands send with the jmicron
 
2621
                         * access mode. */
 
2622
                        d->type = SK_DISK_TYPE_JMICRON;
 
2623
                else if ((vid == 0x0c0b && pid == 0xb159) ||
2611
2624
                    (vid == 0x04fc && pid == 0x0c25) ||
2612
2625
                    (vid == 0x04fc && pid == 0x0c15))
2613
2626
                        d->type = SK_DISK_TYPE_SUNPLUS;
2614
 
                else if ((vid == 0x152d && pid == 0x2336) ||
2615
 
                    (vid == 0x152d && pid == 0x2338) ||
2616
 
                    (vid == 0x152d && pid == 0x2339))
2617
 
                        d->type = SK_DISK_TYPE_JMICRON;
2618
2627
                else
2619
2628
                        d->type = SK_DISK_TYPE_ATA_PASSTHROUGH_12;
2620
2629