[linux-usb-devel] Max usb_request length?

2005-06-24 Thread Li Yang-r58472
Hi,

I tried to get my hands on USB gadget driver recently, but there are things I 
can't figure out through documents I can get.  There is a length field in the 
usb_request structure.  It is filled by upper gadget layer (fs, serial, etc.).  
However, I can't find maximum limit for this field, or if we can define a limit 
for it in udc driver.  Does it mean gadget layer may generate transfer requests 
of any size?

Thanks in advance.

--
Leo Li
Metrowerks -- Freescale Semiconductor

[EMAIL PROTECTED]
 



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Max usb_request length?

2005-06-24 Thread Alan Stern
On Fri, 24 Jun 2005, Li Yang-r58472 wrote:

 Hi,
 
 I tried to get my hands on USB gadget driver recently, but there are
 things I can't figure out through documents I can get.  There is a
 length field in the usb_request structure.  It is filled by upper gadget
 layer (fs, serial, etc.).  However, I can't find maximum limit for this
 field, or if we can define a limit for it in udc driver.  Does it mean
 gadget layer may generate transfer requests of any size?

That's right.  You're subject only to the limit of available memory.

Alan Stern



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel