summary'>refsloglog'>tree'>commit'>diffstats
path: '>root//'>sys-kernel/boest-v4.17.15//0011-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/boest-v4.17.15/0011-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch')
--rw-r--r--sys-kernel/boest-v4.17.15/0011-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-kernel/boest-v4.17.15/0011-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch b/sys-kernel/boest-v4.17.15/0011-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch
new file mode 100644
index 00000000..70917f99
--- /dev/null
+++ b/sys-kernel/boest-v4.17.15/0011-usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch
@@ -0,0 +1,37 @@
+From 110ebf9853031bb3c56bfb08adcf69d35650480d Mon Sep 17 00:00:00 2001
+From: Laura Abbott <labbott@fedoraproject.org>
+Date: Tue, 8 Sep 2015 09:53:38 -0700
+Subject: [PATCH 11/16] usb-storage: Disable UAS on JMicron SATA enclosure
+
+Steve Ellis reported incorrect block sizes and alignement
+offsets with a SATA enclosure. Adding a quirk to disable
+UAS fixes the problems.
+
+Reported-by: Steven Ellis <sellis@redhat.com>
+Signed-off-by: Laura Abbott <labbott@fedoraproject.org>
+---
+ drivers/usb/storage/unusual_uas.h | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h
+index d0bdebd87ce3..1b23741036ee 100644
+--- a/drivers/usb/storage/unusual_uas.h
++++ b/drivers/usb/storage/unusual_uas.h
+@@ -87,12 +87,15 @@ UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+ US_FL_IGNORE_UAS),
+
+-/* Reported-by: Takeo Nakayama <javhera@gmx.com> */
++/*
++ * Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
++ * UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
++ */
+ UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
+ "JMicron",
+ "JMS566",
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+- US_FL_NO_REPORT_OPCODES),
++ US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
+
+ /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
+ UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,