[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-devel
Subject:    Re: [linux-usb-devel] [PATCH] USB IAD Support (kernel2.6.21.3)
From:       "Craig W. Nadler" <craig () nadler ! us>
Date:       2007-06-29 5:59:32
Message-ID: 4684A0BA.4090703 () nadler ! us
[Download RAW message or body]

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

["iad_docs.patch" (text/x-patch)]

From: Craig W. Nadler <craig@nadler.us>

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 <craig@nadler.us>

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


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

_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic