]> git.proxmox.com Git - qemu.git/commit - hw/usb/hcd-ohci.c
usb: USBPacket: add status, rename owner -> ep
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 12 Jan 2012 11:51:48 +0000 (12:51 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Feb 2012 10:31:57 +0000 (11:31 +0100)
commitf53c398aa603cea135ee58fd15249aeff7b9c7ea
treeb36b1a2b09a720a3d9e20a838914f3549cc90b16
parent1977f93dacf60466cd23b562ae498446b77d3b48
usb: USBPacket: add status, rename owner -> ep

Add enum to track the status of USBPackets, use that instead of the
owner pointer to figure whenever a usb packet is currently in flight
or not.  Add some more packet status sanity checks.  Also rename the
USBEndpoint pointer from "owner" to "ep".

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