aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-musb.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-12-03 17:30:13 +0100
committerGerd Hoffmann <kraxel@redhat.com>2011-01-11 17:15:23 +0100
commit843d4e0c633824a11c4067d0e84bd683520b5d39 (patch)
tree550450ae452dc3d70d64e3ffddc22a59df174d5b /hw/usb-musb.c
parent7b074a22dab4bdda9864b933f1bc811a3db42845 (diff)
downloadqemu-843d4e0c633824a11c4067d0e84bd683520b5d39.zip
qemu-843d4e0c633824a11c4067d0e84bd683520b5d39.tar.gz
qemu-843d4e0c633824a11c4067d0e84bd683520b5d39.tar.bz2
usb: add speed mask to ports
Add a field to usb ports indicating the speed(s) they are able to handle. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-musb.c')
-rw-r--r--hw/usb-musb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb-musb.c b/hw/usb-musb.c
index 233a265..87eb9ca 100644
--- a/hw/usb-musb.c
+++ b/hw/usb-musb.c
@@ -349,7 +349,8 @@ struct MUSBState {
}
usb_bus_new(&s->bus, NULL /* FIXME */);
- usb_register_port(&s->bus, &s->port, s, 0, NULL, &musb_port_ops);
+ usb_register_port(&s->bus, &s->port, s, 0, NULL, &musb_port_ops,
+ USB_SPEED_MASK_LOW | USB_SPEED_MASK_FULL);
return s;
}