summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-12-18 12:45:17 +0100
committerLennart Poettering <lennart@poettering.net>2009-12-18 12:45:17 +0100
commit3c622f869186c574abf10532deef195edf3fb062 (patch)
tree76a039bd9342f159791ec083adcfff5b4c72c1fc
parent51502143eeb0a5553ab5977d07bf707dac47200c (diff)
blacklist another bridge
http://bugs.freedesktop.org/show_bug.cgi?id=24951
-rw-r--r--atasmart.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/atasmart.c b/atasmart.c
index d39e704..ead52b3 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -2503,9 +2503,16 @@ static int disk_find_type(SkDisk *d, dev_t devnum) {
goto finish;
}
- if ((vid == 0x152d && pid == 0x2329) ||
- (vid == 0x152d && pid == 0x2338) ||
- (vid == 0x152d && pid == 0x2339))
+ if ((vid == 0x0928 && pid == 0x0000))
+ /* This Oxford Semiconductor bridge seems to
+ * choke on SAT commands. Let's explicitly
+ * black list it here.
+ *
+ * http://bugs.freedesktop.org/show_bug.cgi?id=24951 */
+ d->type = SK_DISK_TYPE_NONE;
+ else if ((vid == 0x152d && pid == 0x2329) ||
+ (vid == 0x152d && pid == 0x2338) ||
+ (vid == 0x152d && pid == 0x2339))
/* Some JMicron bridges seem to choke on SMART
* commands, so let's explicitly black list
* them here.
@@ -2516,7 +2523,7 @@ static int disk_find_type(SkDisk *d, dev_t devnum) {
* these vids/pids choke on the jmicron access
* mode. To make sure we don't break things
* for people we now disable this by
- * default.*/
+ * default. */
d->type = SK_DISK_TYPE_NONE;
else if ((vid == 0x152d && pid == 0x2336))
/* This JMicron bridge seems to always work