Re: [PATCH 1/2] usb-uas: set max_lun and max_channel
On Fri, Jan 25, 2013 at 02:52:04PM +0100, Gerd Hoffmann wrote: > 256 luns is what the sam-4 address method 0 can handle and what > the qemu uas emulation supports. So pick that for now. > > Signed-off-by: Gerd Hoffmann > --- > drivers/usb/storage/uas.c |2 ++ > 1 file changed, 2 insertions(+) Please always cc: me on USB patches so I don't miss them. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 1/2] 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. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index 29c5dab..0b72257 100644 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c @@ -991,6 +991,8 @@ static int uas_probe(struct usb_interface *intf, const struct usb_device_id *id) shost->max_cmd_len = 16 + 252; shost->max_id = 1; + shost->max_lun = 256; + shost->max_channel = 1; shost->sg_tablesize = udev->bus->sg_tablesize; devinfo->intf = intf; -- 1.7.9.7 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html