Am Montag, 11. Juni 2007 schrieb Greg KH:
> > Ideally, of course, each HCD would allocate its own URBs with the 
> > private area included.  But we can't do that just now, since some 
> > drivers maintain pools of URBs that they use for multiple devices, 
> > potentially on different buses.
> 
> I don't object to fixing those drivers to do a per-device pool instead
> of a per-driver pool to make this easier.
> 
> So then you could just do a:
>         usb_alloc_urb(struct usb_interface *intf, ...)
> which would allow the bus that is assigned to the device to do the
> proper allocation?  I think that would be good to do.

Oh yes, this sounds better than eggplant in olive oil!

But you'd be better of with:
usb_alloc_urb(struct endpoint *ep, unsigned int maximum_transfer, int 
iso_packets, gfp_t mem_flags);

        Regards
                Oliver

-------------------------------------------------------------------------
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