xhci: signal low- and fullspeed support
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Jan 2012 16:06:18 +0000 (17:06 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Feb 2012 11:16:30 +0000 (12:16 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-xhci.c

index b274b806df50520bec04365a0bcb0a0a25efe7b6..27bdc2b5ee872373890e2890ff3068c8bb45d7a7 100644 (file)
@@ -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;