On Sat, 16 Dec 2006 12:07:16 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote:

> > +struct usbmon_packet {
> > +   u64 id;                 /*  0: URB ID - from submission to callback */
> > +   unsigned char type;     /*  8: Same as text; extensible. */
> > +   unsigned char xfer_type; /*    ISO, Intr, Control, Bulk; 0x80 IN */
> > +   unsigned char epnum;    /*     Endpoint number */
> 
> The 0x80-for-IN usually goes with the endpoint number; why have you moved 
> it into the endpoint type byte?

I forgot about the way descriptors are. Also, I was thinking about the
direction of transfer rather than the endpoint. So I just stuck it into
the first place which which had a free bit...

Changing it now will affect Paolo. I am leaning to leaving it as is.

-- Pete

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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