diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-01-17 13:25:46 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-10 12:16:30 +0100 |
commit | 7567b51fbe92e1300a672eaddd413c4a7e807d90 (patch) | |
tree | 99f49603bb1b279686113e15020145f827777b4a /hw/usb.h | |
parent | db4be873d312576c6971da15a38e056017a406b8 (diff) |
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>
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -368,7 +368,7 @@ void usb_attach(USBPort *port); void usb_detach(USBPort *port); void usb_port_reset(USBPort *port); void usb_device_reset(USBDevice *dev); -void usb_wakeup(USBDevice *dev); +void usb_wakeup(USBEndpoint *ep); void usb_generic_async_ctrl_complete(USBDevice *s, USBPacket *p); int set_usb_string(uint8_t *buf, const char *str); |