提交 fbb8c745 编写于 作者: B Bjørn Mork 提交者: Greg Kroah-Hartman

USB: storage: in-kernel modeswitching is deprecated

Acked-by: NMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: NBjørn Mork <bjorn@mork.no>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a0f11ace
...@@ -53,6 +53,14 @@ ...@@ -53,6 +53,14 @@
* as opposed to devices that do something strangely or wrongly. * 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) && \ #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
!defined(CONFIG_USB_STORAGE_SDDR09_MODULE) !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
#define NO_SDDR09 #define NO_SDDR09
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册