Re: [PATCH] USB IAD Support (kernel2.6.21.3)

"Craig W. Nadler" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Greg KH wrote:
> Please also update the documentation for the usbfs file in
> Documentation/usb/proc_usb_info.txt as you added a new line to that
> file.
>
> You can just send that as a follow-on patch, as I've added this one to
> my tree now.
>   

The IAD usbfs doc patch is against kernel 2.6.22-rc6.

Craig

-------------------------------------------------------------------------
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
iad_docs.patch (text/x-patch, 1.8 KB)
From: Craig W. Nadler <[email protected]>

USB_IAD_DOC: Updates usbfs doc file for IAD support.

Added a section for Interface Association Descriptors in the usbfs
documentation in Documentation/usb/proc_usb_info.txt .

Signed-off-by: Craig W. Nadler <[email protected]>

diff -uprN a/Documentation/usb/proc_usb_info.txt b/Documentation/usb/proc_usb_info.txt
--- a/Documentation/usb/proc_usb_info.txt	2007-04-25 23:08:32.000000000 -0400
+++ b/Documentation/usb/proc_usb_info.txt	2007-06-29 01:45:05.000000000 -0400
@@ -211,6 +211,28 @@ C:* #Ifs=dd Cfg#=dd Atr=xx MPwr=dddmA
     for use with software volume control.
 
 
+Interface Association Descriptor info (can be multiple per Config):
+
+A:  FirstIf#=dd IfCount=dd Cls=xx(sssss) Sub=xx Prot=xx
+|   |           |          |             |      |
+|   |           |          |             |      |
+|   |           |          |             |      |__FunctionProtocol
+|   |           |          |             |__FunctionSubClass
+|   |           |          |__FunctionClass
+|   |           |__Number of Interfaces associated with this function
+|   |__First Interface associated with this function
+|__Interface Association Descriptor info tag
+
+    An Interface Association Descriptor can be used to specify that
+    multiple interfaces on a device are used together as part of a
+    single distinct function. USB configurations may have multiple
+    IADs, however an interface can only be referenced by one IAD.
+    The structure of the IAD also forces the interfaces referenced to 
+    be consecutively numbered. The interfaces are referenced in the 
+    descriptor by the interface number of the first associated
+    interface and the number of interfaces.
+
+
 Interface descriptor info (can be multiple per Config):
 
 I:* If#=dd Alt=dd #EPs=dd Cls=xx(sssss) Sub=xx Prot=xx Driver=ssss
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.