diff options
author | Alan Stern <[email protected]> | 2014-01-30 10:43:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-02-04 12:59:15 -0800 |
commit | 823d12c95c666fa7ab7dad208d735f6bc6afabdc (patch) | |
tree | b9b294c6078343abbbd960914820738821c770ba /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 2240c365108adbc4100a55654a5707e8e877a401 (diff) |
usb-storage: enable multi-LUN scanning when needed
People sometimes create their own custom-configured kernels and forget
to enable CONFIG_SCSI_MULTI_LUN. This causes problems when they plug
in a USB storage device (such as a card reader) with more than one
LUN.
Fortunately, we can tell fairly easily when a storage device claims to
have more than one LUN. When that happens, this patch asks the SCSI
layer to probe all the LUNs automatically, regardless of the config
setting.
The patch also updates the Kconfig help text for usb-storage,
explaining that CONFIG_SCSI_MULTI_LUN may be necessary.
Signed-off-by: Alan Stern <[email protected]>
Reported-by: Thomas Raschbacher <[email protected]>
CC: Matthew Dharm <[email protected]>
CC: James Bottomley <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions