]> git.proxmox.com Git - qemu.git/commit
usb: Make port wakeup and complete ops take a USBPort instead of a Device
authorHans de Goede <hdegoede@redhat.com>
Tue, 21 Jun 2011 09:52:28 +0000 (11:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 5 Jul 2011 13:09:02 +0000 (15:09 +0200)
commitd47e59b8b8adc96a2052f7e004cb12b6ff62edd9
tree301cdacdde8bff6220c9405499ea925a92ea7a26
parentae60fea97c78e7f855794f2770517244d93def73
usb: Make port wakeup and complete ops take a USBPort instead of a Device

This makes them consistent with the attach and detach ops, and in general
it makes sense to make portops take a port as argument. This also makes
adding support for a companion controller easier / cleaner.

[ kraxel: fix usb-musb.c build ]

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