Re: patch to shift memory allocations to usb_alloc_urb()

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
> > 
> > I'm also not sure that what I have in mind is so very different from 
> > what you're trying to do.  Basically, instead of asking the HCD how 
> > much space it needs for a certain transfer length & type, simply tell 
> > the HCD to allocate the resources directly.  Then you could also have 
> > the HCD allocate the URB, including the HCD-private part.
> 
> OK, yes I see. That is equivalent and perhaps more elegant.

And matches what the gadget stack does, which should make it easier
to share code on dual-role controllers.

- Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.