Skip to content

Commit fbb8c74

Browse files
bmorkgregkh
authored andcommitted
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>
1 parent a0f11ac commit fbb8c74

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/usb/storage/unusual_devs.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@
5353
* as opposed to devices that do something strangely or wrongly.
5454
*/
5555

56+
/* In-kernel mode switching is deprecated. Do not add new devices to
57+
* this list for the sole purpose of switching them to a different
58+
* mode. Existing userspace solutions are superior.
59+
*
60+
* New mode switching devices should instead be added to the database
61+
* maintained at http://www.draisberghof.de/usb_modeswitch/
62+
*/
63+
5664
#if !defined(CONFIG_USB_STORAGE_SDDR09) && \
5765
!defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
5866
#define NO_SDDR09

0 commit comments

Comments
 (0)