diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2014-12-10 14:11:21 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2014-12-10 14:11:56 -0500 |
commit | 7722e301a4f62e3072ff0e411afdcedf416fbf9e (patch) | |
tree | 72451a6419bd3019300e2f811323ebd434d42a3d /uas-Add-US_FL_NO_REPORT_OPCODES-for-JMicron-JMS566-w.patch | |
parent | 49da9ad901bda5d3c63934bae1f9c8bc6a98a7e2 (diff) | |
download | kernel-7722e301a4f62e3072ff0e411afdcedf416fbf9e.tar.gz kernel-7722e301a4f62e3072ff0e411afdcedf416fbf9e.tar.xz kernel-7722e301a4f62e3072ff0e411afdcedf416fbf9e.zip |
Fix UAS crashes with Seagate and Fresco Logic drives (rhbz 1164945)
Diffstat (limited to 'uas-Add-US_FL_NO_REPORT_OPCODES-for-JMicron-JMS566-w.patch')
-rw-r--r-- | uas-Add-US_FL_NO_REPORT_OPCODES-for-JMicron-JMS566-w.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/uas-Add-US_FL_NO_REPORT_OPCODES-for-JMicron-JMS566-w.patch b/uas-Add-US_FL_NO_REPORT_OPCODES-for-JMicron-JMS566-w.patch new file mode 100644 index 000000000..11725df52 --- /dev/null +++ b/uas-Add-US_FL_NO_REPORT_OPCODES-for-JMicron-JMS566-w.patch @@ -0,0 +1,37 @@ +From a7ea9a460f28ef9781ba8dad4a6feb5fd01202f2 Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Mon, 8 Dec 2014 09:46:36 +0100 +Subject: [PATCH 3/3] uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS566 with + usb-id 0bc2:a013 + +Like the JMicron JMS567 enclosures with the JMS566 choke on report-opcodes, +so avoid it. + +Tested-and-reported-by: Takeo Nakayama <javhera@gmx.com> +Cc: stable@vger.kernel.org # 3.16 +Signed-off-by: Hans de Goede <hdegoede@redhat.com> +--- + drivers/usb/storage/unusual_uas.h | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h +index 2918376a1979..2f0a3d35269a 100644 +--- a/drivers/usb/storage/unusual_uas.h ++++ b/drivers/usb/storage/unusual_uas.h +@@ -111,6 +111,13 @@ UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999, + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_NO_ATA_1X), + ++/* Reported-by: Takeo Nakayama <javhera@gmx.com> */ ++UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999, ++ "JMicron", ++ "JMS566", ++ USB_SC_DEVICE, USB_PR_DEVICE, NULL, ++ US_FL_NO_REPORT_OPCODES), ++ + /* Reported-by: Hans de Goede <hdegoede@redhat.com> */ + UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999, + "Hitachi", +-- +2.1.0 + |