]> git.proxmox.com Git - qemu.git/commit - usb-bsd.c
usb: Add a speedmask to devices
authorHans de Goede <hdegoede@redhat.com>
Fri, 27 May 2011 12:27:18 +0000 (14:27 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 23 Jun 2011 09:28:06 +0000 (11:28 +0200)
commitba3f9bfba9ad8d2bbcb9a9fa9ed0f07347fc1c58
tree7868a7af402691d899d6c54007d619c9fb5cc6ce
parentfa19bf831b8c87006533645ece58bc620aca00bc
usb: Add a speedmask to devices

This is used to indicate at which speed[s] the device can operate,
so that this can be checked to match the ports capabilities when it gets
attached to a bus.

Note that currently all usb1 emulated device claim to be fullspeed, this
seems to not cause any problems, but still seems wrong, because with real
hardware keyboards, mice and tablets usually are lo-speed, so reporting these
as fullspeed devices seems wrong.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ccid.c
hw/usb-desc.c
hw/usb.h
usb-bsd.c
usb-linux.c