summaryrefslogtreecommitdiff
path: root/drivers/usb/core/driver.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2014-01-30 19:43:22 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-05 00:59:15 +0400
commit823d12c95c666fa7ab7dad208d735f6bc6afabdc (patch)
treeb9b294c6078343abbbd960914820738821c770ba /drivers/usb/core/driver.c
parent2240c365108adbc4100a55654a5707e8e877a401 (diff)
downloadlinux-823d12c95c666fa7ab7dad208d735f6bc6afabdc.tar.xz
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 <stern@rowland.harvard.edu> Reported-by: Thomas Raschbacher <lordvan@lordvan.com> CC: Matthew Dharm <mdharm-usb@one-eyed-alien.net> CC: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/driver.c')
0 files changed, 0 insertions, 0 deletions