aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2013-03-05 09:58:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-07 12:23:17 +0800
commitfbb8c745ec20fd9e6ba9af56dabab987c765263c (patch)
tree10a311d5091a655d0797c3185445913328c2cbf2 /drivers/usb/storage
parenttools: usb: ffs-test: Fix build failure (diff)
downloadlinux-dev-fbb8c745ec20fd9e6ba9af56dabab987c765263c.tar.xz
linux-dev-fbb8c745ec20fd9e6ba9af56dabab987c765263c.zip
USB: storage: in-kernel modeswitching is deprecated
Acked-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/unusual_devs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 72923b56bbf6..731c1d75716d 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -53,6 +53,14 @@
* as opposed to devices that do something strangely or wrongly.
*/
+/* In-kernel mode switching is deprecated. Do not add new devices to
+ * this list for the sole purpose of switching them to a different
+ * mode. Existing userspace solutions are superior.
+ *
+ * New mode switching devices should instead be added to the database
+ * maintained at http://www.draisberghof.de/usb_modeswitch/
+ */
+
#if !defined(CONFIG_USB_STORAGE_SDDR09) && \
!defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
#define NO_SDDR09