]> Git Repo - qemu.git/commitdiff
lm32: softusb: claim to support full speed
authorMichael Walle <[email protected]>
Thu, 21 Jul 2011 18:52:24 +0000 (20:52 +0200)
committerEdgar E. Iglesias <[email protected]>
Wed, 3 Aug 2011 23:14:22 +0000 (01:14 +0200)
The QEMU keyboard and mouse reports themselves as full speed devices,
though they are actually low speed devices. Until this is fixed, claim that
we are supporting full speed devices.

Acked-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Michael Walle <[email protected]>
Signed-off-by: Edgar E. Iglesias <[email protected]>
hw/milkymist-softusb.c

index ce2bfc60f28e9c729f5dde966aada06120b52e3d..abf7b59acdc49c067acc1750c5006f936285ee97 100644 (file)
@@ -310,10 +310,12 @@ static int milkymist_softusb_init(SysBusDevice *dev)
     usb_bus_new(&s->usbbus, &softusb_bus_ops, NULL);
 
     /* our two ports */
+    /* FIXME: claim to support full speed devices. qemu mouse and keyboard
+     * report themselves as full speed devices. */
     usb_register_port(&s->usbbus, &s->usbport[0], NULL, 0, &softusb_ops,
-            USB_SPEED_MASK_LOW);
+            USB_SPEED_MASK_LOW | USB_SPEED_MASK_FULL);
     usb_register_port(&s->usbbus, &s->usbport[1], NULL, 1, &softusb_ops,
-            USB_SPEED_MASK_LOW);
+            USB_SPEED_MASK_LOW | USB_SPEED_MASK_FULL);
 
     /* and finally create an usb keyboard */
     s->usbdev = usb_create_simple(&s->usbbus, "usb-kbd");
This page took 0.027567 seconds and 4 git commands to generate.