> That's exactly the reason why the gadget API passes the endpoint in
> when allocating a usb_request object (analagous to URB on host side).
> Per-request host-side allocations today are:
>
> -URB
> - URB-private data (different for each HCD)
> - TD (usually just one, except for UHCI or ep0)
>
> Today, only the first can be pre-allocated. But passing the endpoint
> in means that they can _all_ be pre-allocated, and things like endpoint
> polling interval (for periodic urbs) can be initialized ... although ISO is
> messy since it's got that funky urb-within-urb notion (rather than just
> doing the simple "packet-per-urb" thing).
So could the usb_request structure be used on both sides?
Regards
Oliver
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel