aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-05-31 11:35:27 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-06-14 12:56:49 +0200
commit290d26d2e7510fbbcb68a765695b5838af60b3f0 (patch)
treeaabe258c2eee77188e730b6b7932bd73d947e7ca
parentf8ddbfbcda3ed83b57df537f2457db25de2cc572 (diff)
usb-bus: Add knowledge of USB_SPEED_SUPER to usb_speed helper
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--hw/usb-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb-bus.c b/hw/usb-bus.c
index 874c253f76..91f20839b7 100644
--- a/hw/usb-bus.c
+++ b/hw/usb-bus.c
@@ -273,6 +273,7 @@ static const char *usb_speed(unsigned int speed)
[ USB_SPEED_LOW ] = "1.5",
[ USB_SPEED_FULL ] = "12",
[ USB_SPEED_HIGH ] = "480",
+ [ USB_SPEED_SUPER ] = "5000",
};
if (speed >= ARRAY_SIZE(txt))
return "?";