usb: link packets to endpoints not devices
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 13 Dec 2011 14:58:19 +0000 (15:58 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Jan 2012 08:44:50 +0000 (09:44 +0100)
commit25d5de7d81a5b1a5c625775648d3d92e8398741c
treed27fdeb3d10f8fb510722ff093b814764d726cbb
parentf003397ce95441cd8de01a728affb3de7accd1dd
usb: link packets to endpoints not devices

Add USBEndpoint for the control endpoint to USBDevices.  Link async
packets to the USBEndpoint instead of the USBDevice.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ehci.c
hw/usb-musb.c
hw/usb-ohci.c
hw/usb-uhci.c
hw/usb.c
hw/usb.h