From: Bjørn Mork Date: Tue, 5 Mar 2013 08:58:42 +0000 (+0100) Subject: USB: storage: in-kernel modeswitching is deprecated X-Git-Tag: v3.9-rc3~17^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbb8c745ec20fd9e6ba9af56dabab987c765263c;p=platform%2Fkernel%2Flinux-3.10.git USB: storage: in-kernel modeswitching is deprecated Acked-by: Matthew Dharm Signed-off-by: Bjørn Mork Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 72923b5..731c1d7 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