On Fri, 12 Aug 2011, Felipe Balbi wrote: > > Does the driver need to do anything at all? As far as I can tell, > > bursting is controlled by the NumP field in the ACK transaction packet. > > This value is set automatically by the UDC driver or hardware; the > > gadget driver has nothing to do with it. Therefore the mass-storage > > gadget drivers shouldn't need any changes to support bursting. > > In that case, I'll change that to a non-zero value (2) and later we go > the exercise of finding the best number to stick in there. I think the best value would be FSG_BUFLEN / the bulk maxpacket size (always 1024 for SuperSpeed) -- but no more than the maximum allowed value (either 15 or 16, I forget which). We also need to figure out whether the UDC driver should pay attention to the bMaxBurst value. If it doesn't support bursting, it would have to set that field to 0. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html