]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1f3505cad3a4d77b0b87ec9ee6138b190d6ab92
tree9453f2236e1419b0d43929935c7a99f00906f1cf
parent64f7fd8ec812d404938f9817058dc0158ed187d6
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