USB: add IAD support to usbfs and sysfs
authorCraig W. Nadler <craig@nadler.us>
Sat, 16 Jun 2007 03:14:35 +0000 (23:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:40 +0000 (16:34 -0700)
commit165fe97ed6107d3cde63592d5ac36400a5eb9f6f
tree824bb475b4f36af465989c5dac62f4097a1bd01c
parent50d2dc7266573dfbdc84fc207494dd21315782ef
USB: add IAD support to usbfs and sysfs

USB_IAD: Adds support for USB Interface Association Descriptors.

This patch adds support to the USB host stack for parsing, storing, and
displaying Interface Association Descriptors. In /proc/bus/usb/devices
lines starting with A: show the fields in an IAD. In sysfs if an
interface on a USB device is referenced by an IAD the following files
will be added to the sysfs directory for that interface:
iad_bFirstInterface, iad_bInterfaceCount, iad_bFunctionClass, and
iad_bFunctionSubClass, iad_bFunctionProtocol

Signed-off-by: Craig W. Nadler <craig@nadler.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/config.c
drivers/usb/core/devices.c
drivers/usb/core/message.c
drivers/usb/core/sysfs.c
include/linux/usb.h