]> git.proxmox.com Git - qemu.git/commit
usb: add usb_desc_attach
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 3 Dec 2010 17:07:20 +0000 (18:07 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Jan 2011 16:15:24 +0000 (17:15 +0100)
commit32d41919784abe56b10f6d7784c00bb27e4f4d39
tree41416dca0d054a5557b22626e3ad8bb3ecdc8c9c
parentb6f77fbe230ad3e9ec5c9115a1535137d5e5d04b
usb: add usb_desc_attach

Add usb_desc_attach() which sets up the device according to the speed
the usb port is able to handle.  This function can be hooked into the
handle_attach callback.

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