On Wed, 18 Jul 2007, Oliver Neukum wrote:
> > Am Mittwoch 18 Juli 2007 schrieb Alan Stern:
> > int usb_submit_urb(struct urb *urb, gfp_t mem_flags)
> > {
> > - int pipe, temp, max;
> > - struct usb_device *dev;
> > - int is_out;
> > + int xfertype, max;
> > + struct usb_device *dev;
> > + struct usb_host_endpoint *ep;
> > + int is_out;
>
> This is a bit odd. Using a pointer the direction info should be included.
I don't understand. Included where?
> Or you could use endpoint numbers, which would remove some issues
> with enummeration.
That's essentially the same as using a pipe, since some of the bits in
a pipe _are_ the endpoint number.
Alan Stern
-------------------------------------------------------------------------
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