qemu-e2k/hw/usb
Hans de Goede 0cae7b1a00 usb: Move clearing of queue on halt to the core
hcds which queue up more then one packet at once (uhci, ehci and xhci),
must clear the queue after an error which has caused the queue to halt.

Currently this is handled as a special case inside the hcd code, this
patch instead adds an USB_RET_REMOVE_FROM_QUEUE packet result code, teaches
the 3 hcds about this and moves the clearing of the queue on a halt into
the USB core.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2012-10-25 09:08:10 +02:00
..
bus.c usb: Add USB_RET_ADD_TO_QUEUE packet result code 2012-10-25 09:08:09 +02:00
core.c usb: Move clearing of queue on halt to the core 2012-10-25 09:08:10 +02:00
desc.c usb3: bos decriptor 2012-09-11 07:43:01 +02:00
desc.h usb3: bos decriptor 2012-09-11 07:43:01 +02:00
dev-audio.c
dev-bluetooth.c
dev-hid.c
dev-hub.c
dev-network.c net: fix usbnet_receive() packet drops 2012-09-14 08:40:32 +01:00
dev-serial.c usb-serial: only expose device in guest when the chardev is open 2012-10-22 13:26:42 -05:00
dev-smartcard-reader.c
dev-storage.c usb-storage: usb3 support 2012-09-11 07:43:01 +02:00
dev-uas.c cleanup useless return sentence 2012-10-05 15:10:21 +02:00
dev-wacom.c
hcd-ehci.c usb: Move clearing of queue on halt to the core 2012-10-25 09:08:10 +02:00
hcd-musb.c usb: Add USB_RET_ADD_TO_QUEUE packet result code 2012-10-25 09:08:09 +02:00
hcd-ohci.c usb: Add USB_RET_ADD_TO_QUEUE packet result code 2012-10-25 09:08:09 +02:00
hcd-uhci.c usb: Move clearing of queue on halt to the core 2012-10-25 09:08:10 +02:00
hcd-xhci.c usb: Move clearing of queue on halt to the core 2012-10-25 09:08:10 +02:00
host-bsd.c
host-linux.c usb-host: allow emulated (non-async) control requests without USBPacket 2012-09-12 08:09:48 +02:00
host-stub.c
libhw.c usb: Fix usb_packet_map() in the presence of IOMMUs 2012-09-26 09:24:42 +02:00
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
redirect.c usb-redir: Don't make migration fail in none seamless case 2012-10-11 09:32:10 +02:00