usb: better speed mismatch error reporting
commit3b7e759a4110690c9617b1ffa6a7c96a343a330d
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 18 Apr 2013 09:57:21 +0000 (18 11:57 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Apr 2013 06:43:10 +0000 (23 08:43 +0200)
tree9c25bc23d516efee566ae1e027e5dbf3968c74fa
parente449f26bed42b1d8c6efefcd8dc768f23f19458f
usb: better speed mismatch error reporting

Report the supported speeds for device and port in the error message.
Also add the speeds to the tracepoint.  And while being at it drop
the redundant error message in usb_desc_attach, usb_device_attach will
report the error anyway.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/bus.c
hw/usb/desc.c
trace-events