• Craig W. Nadler's avatar
    USB: add IAD support to usbfs and sysfs · 165fe97e
    Craig W. Nadler authored
    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: default avatarCraig W. Nadler <craig@nadler.us>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    165fe97e
sysfs.c 16.9 KB