projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a90cb
)
usb: ignore USB_DT_DEBUG
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 23 Jun 2011 15:15:43 +0000
(17:15 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 23 Jun 2011 15:15:55 +0000
(17:15 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-desc.c
patch
|
blob
|
history
hw/usb.h
patch
|
blob
|
history
diff --git
a/hw/usb-desc.c
b/hw/usb-desc.c
index
0b9d351
..
bc6858f
100644
(file)
--- a/
hw/usb-desc.c
+++ b/
hw/usb-desc.c
@@
-385,6
+385,10
@@
int usb_desc_get_descriptor(USBDevice *dev, int value, uint8_t *dest, size_t len
trace_usb_desc_other_speed_config(dev->addr, index, len, ret);
break;
+ case USB_DT_DEBUG:
+ /* ignore silently */
+ break;
+
default:
fprintf(stderr, "%s: %d unknown type %d (len %zd)\n", __FUNCTION__,
dev->addr, type, len);
diff --git
a/hw/usb.h
b/hw/usb.h
index
a6b311f
..
076e2ff
100644
(file)
--- a/
hw/usb.h
+++ b/
hw/usb.h
@@
-130,6
+130,7
@@
#define USB_DT_ENDPOINT 0x05
#define USB_DT_DEVICE_QUALIFIER 0x06
#define USB_DT_OTHER_SPEED_CONFIG 0x07
+#define USB_DT_DEBUG 0x0A
#define USB_DT_INTERFACE_ASSOC 0x0B
#define USB_ENDPOINT_XFER_CONTROL 0