USB: usb-storage: new "lockable" subclass 0x07
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 8 Nov 2007 20:15:28 +0000 (15:15 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:49 +0000 (14:34 -0800)
commit676d3aa16f66d94bf5654781b77d1e070c8b0514
tree68d549b26bd32a02645b68af94ca5a77c50878ea
parentfec8de3aada6338a4069ee1df4726dd7bbbdf476
USB: usb-storage: new "lockable" subclass 0x07

This patch (as1011) adds a #define for the newly-created Lockable
(i.e., password-protected) subclass 0x07 for USB mass-storage devices.
The private ISD200 entry (which had been mapped to subclass 0x07) is
moved to 0xf0, which is unlikely to conflict with any official
subclass designation.

The US_SC_MIN and US_SC_MAX constants aren't used anywhere, so the
patch removes them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb_usual.h