usb: add support for "grouped" interfaces and the Interface Association Descriptor
commit6e625fc70410d76f2fc0d31185a96cf667076f8b
authorBrad Hards <bradh@frogmouth.net>
Sun, 3 Apr 2011 05:33:21 +0000 (3 15:33 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 May 2011 09:55:02 +0000 (26 11:55 +0200)
tree86e7ec2b9cd249cb36a423e25e3d6acc2f411ef3
parentfef13fa8e4de9255cad32192ff76e007568cf1b3
usb: add support for "grouped" interfaces and the Interface Association Descriptor

This is used for some devices that have multiple interfaces that form a logic
device. An example is Video Class, which has a Control interface and a
Streaming interface. There can be additional interfaces on the same (physical)
devices (e.g. a microphone), and Interface Association Descriptor handles this
case.

Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-desc.c
hw/usb-desc.h
hw/usb.h