usb: Add support for multiple-LUN mass storage devices
authorLudovic Courtès <ludo@gnu.org>
Tue, 5 Oct 2010 20:04:26 +0000 (22:04 +0200)
committerRemy Bohmer <linux@bohmer.net>
Wed, 13 Oct 2010 10:07:58 +0000 (12:07 +0200)
commit99e9ed1f49b31cc7c3b8f5d2c322b2eb26dd2a29
treeb656e58b8fc294a550fe9832e51bf8ac21847128
parent98fae9707fd83a61ec29d9c42c15267a735f9b71
usb: Add support for multiple-LUN mass storage devices

This patch changes `usb_stor_scan' to scan all the LUNs of each mass
storage device.  It also fixes the various commands to correctly set
the LUN field.

Notably, it allows each LUN of GuruPlug's microSD card reader to be
accessed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
common/usb_storage.c