On Tue, 26 Jun 2007 03:14:22 +0200, Marcel Holtmann <[EMAIL PROTECTED]> wrote:

> while I was creating this patch, I was thinking about its usefulness. It
> will make the drivers more simpler, but still every driver that is gonna
> use it has to allocate the URB itself. So why not go one step ahead and
> create usb_alloc_{control,bulk,int}_urb helpers that will allocate the
> URB, its transfer buffer set the appropriate flags.

Sounds even more useful. Better abandon the halfway wrappers for the new
ones. Another thing I'd think may be useful is to take the endpoint
address instead of the pipe, because the pipe type is known to each
wrapper, right?

BTW, you sure like empty lines...

-- Pete

-------------------------------------------------------------------------
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/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to