]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/dev-hub.c
usb: pass USBEndpoint to usb_wakeup
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Jan 2012 12:25:46 +0000 (13:25 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Feb 2012 11:16:30 +0000 (12:16 +0100)
commit7567b51fbe92e1300a672eaddd413c4a7e807d90
tree99f49603bb1b279686113e15020145f827777b4a
parentdb4be873d312576c6971da15a38e056017a406b8
usb: pass USBEndpoint to usb_wakeup

Devices must specify which endpoint has data to transfer now.
The plan is to use the usb_wakeup() not only for remove wakeup support,
but for "data ready" signaling in general, so we can move away from
constant polling to event driven usb device emulation.

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