diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-01-13 17:06:18 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-10 12:16:30 +0100 |
commit | 606352b735eb98ce0b1f3786e0b4b313bd2e1a35 (patch) | |
tree | 4b0cf1b0177e332dae2f492bdf3b221eebecb6db /hw | |
parent | 37f32f0fdd3ed589266d159abb69f3a1bae20ec5 (diff) | |
download | qemu-606352b735eb98ce0b1f3786e0b4b313bd2e1a35.zip qemu-606352b735eb98ce0b1f3786e0b4b313bd2e1a35.tar.gz qemu-606352b735eb98ce0b1f3786e0b4b313bd2e1a35.tar.bz2 |
xhci: signal low- and fullspeed support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/usb-xhci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c index b274b80..27bdc2b 100644 --- a/hw/usb-xhci.c +++ b/hw/usb-xhci.c @@ -2672,7 +2672,10 @@ static void usb_xhci_init(XHCIState *xhci, DeviceState *dev) for (i = 0; i < MAXPORTS; i++) { memset(&xhci->ports[i], 0, sizeof(xhci->ports[i])); usb_register_port(&xhci->bus, &xhci->ports[i].port, xhci, i, - &xhci_port_ops, USB_SPEED_MASK_HIGH); + &xhci_port_ops, + USB_SPEED_MASK_LOW | + USB_SPEED_MASK_FULL | + USB_SPEED_MASK_HIGH); } for (i = 0; i < MAXSLOTS; i++) { xhci->slots[i].enabled = 0; |