Re: Class specific interface descriptors parsing issue

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, 17 Apr 2007, David Brownell wrote:

> > All examples found in USB specification documents put the  
> > CS_INTERFACE descriptors between the INTERFACE and ENDPOINT descriptors, but 
> > I found no mention of this being a requirement.
> > 
> > The interface descriptor parsing code (usb_parse_interface in 
> > drivers/usb/core/config.c) stores a pointer to those extra data in the struct 
> > usb_host_interface 'extra' field. It currently only handles extra data 
> > between INTERFACE and ENDPOINT descriptors. All descriptors after the 
> > endpoint descriptors are just skipped.
> 
> Not stored away as "extra" endpoint data?  There's a field there to
> hold such stuff, and I was sure that it got used ...

It does get used.

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