From 3c622f869186c574abf10532deef195edf3fb062 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 18 Dec 2009 12:45:17 +0100 Subject: blacklist another bridge http://bugs.freedesktop.org/show_bug.cgi?id=24951 --- atasmart.c | 15 +++++++++++---- 1 file 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 -- cgit