2477
if ((vid == 0x152d && (pid == 0x2329 || pid == 0x2338 || pid == 0x2339))) {
2477
if ((vid == 0x152d && pid == 0x2329) ||
2478
(vid == 0x152d && pid == 0x2338) ||
2479
(vid == 0x152d && pid == 0x2339))
2478
2480
/* Some JMicron bridges seem to choke on SMART
2479
2481
* commands, so let's explicitly black list
2482
* https://bugzilla.redhat.com/show_bug.cgi?id=515881 */
2484
* https://bugzilla.redhat.com/show_bug.cgi?id=515881
2486
* At least some of the JMicron bridges with
2487
* these vids/pids choke on the jmicron access
2488
* mode. To make sure we don't break things
2489
* for people we now disable this by
2483
2491
d->type = SK_DISK_TYPE_NONE;
2484
} else if ((vid == 0x0c0b && pid == 0xb159) ||
2492
else if ((vid == 0x152d && pid == 0x2336))
2493
/* This JMicron bridge seems to always work
2494
* with SMART commands send with the jmicron
2496
d->type = SK_DISK_TYPE_JMICRON;
2497
else if ((vid == 0x0c0b && pid == 0xb159) ||
2485
2498
(vid == 0x04fc && pid == 0x0c25) ||
2486
2499
(vid == 0x04fc && pid == 0x0c15))
2487
2500
d->type = SK_DISK_TYPE_SUNPLUS;
2488
else if ((vid == 0x152d && pid == 0x2336) ||
2489
(vid == 0x152d && pid == 0x2338) ||
2490
(vid == 0x152d && pid == 0x2339))
2491
d->type = SK_DISK_TYPE_JMICRON;
2493
2502
d->type = SK_DISK_TYPE_ATA_PASSTHROUGH_12;