summaryrefslogtreecommitdiffstats
path: root/atasmart.c
diff options
context:
space:
mode:
Diffstat (limited to 'atasmart.c')
-rw-r--r--atasmart.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/atasmart.c b/atasmart.c
index b6bcb90..4faa946 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -2474,12 +2474,18 @@ static int disk_find_type(SkDisk *d, dev_t devnum) {
goto finish;
}
- if ((vid == 0x0c0b && pid == 0xb159) ||
+ if ((vid == 0x152d && pid == 0x2329)) {
+ /* Some JMicron bridges seem to choke on SMART
+ * commands, so let's explicitly black list
+ * them here.
+ *
+ * https://bugzilla.redhat.com/show_bug.cgi?id=515881 */
+ d->type = SK_DISK_TYPE_NONE;
+ } else if ((vid == 0x0c0b && pid == 0xb159) ||
(vid == 0x04fc && pid == 0x0c25) ||
(vid == 0x04fc && pid == 0x0c15))
d->type = SK_DISK_TYPE_SUNPLUS;
- else if ((vid == 0x152d && pid == 0x2329) ||
- (vid == 0x152d && pid == 0x2336) ||
+ else if ((vid == 0x152d && pid == 0x2336) ||
(vid == 0x152d && pid == 0x2338) ||
(vid == 0x152d && pid == 0x2339))
d->type = SK_DISK_TYPE_JMICRON;