Re: [PATCH] USB: introduce urb->core_status field

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Novell
Message-ID <[email protected]>
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/
_______________________________________________
[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.