From 25620cba94d7ca126a24d74ce6f2ac42aa9a2fe8 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 8 Dec 2010 17:35:22 +0100 Subject: usb: add device qualifier support Add support for device_qualifier and other_speed_config descriptors. These are used to query the "other speed" configuration of usb 2.0 devices, i.e. in high-speed mode they return the full-speed configuration and visa versa. Signed-off-by: Gerd Hoffmann --- hw/usb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/usb.h') diff --git a/hw/usb.h b/hw/usb.h index 892ff724ff..99139e22e0 100644 --- a/hw/usb.h +++ b/hw/usb.h @@ -122,6 +122,8 @@ #define USB_DT_STRING 0x03 #define USB_DT_INTERFACE 0x04 #define USB_DT_ENDPOINT 0x05 +#define USB_DT_DEVICE_QUALIFIER 0x06 +#define USB_DT_OTHER_SPEED_CONFIG 0x07 #define USB_ENDPOINT_XFER_CONTROL 0 #define USB_ENDPOINT_XFER_ISOC 1 -- cgit 1.4.1