usb-uas: set max_lun and max_channel
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Jan 2013 14:03:36 +0000 (15:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 17:56:54 +0000 (09:56 -0800)
commitbde027b456dc56a3673f886872a6425adc5e9aa4
tree9453f2236e1419b0d43929935c7a99f00906f1cf
parent59e931c47fe44de354ced20136a655d4725a2b61
usb-uas: set max_lun and max_channel

256 luns is what the sam-4 address method 0 can handle and what
the qemu uas emulation supports.  So pick that for now.

[ v2: unlike the other two max_* fields max_channel isn't max+1 ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c