ehci: Set int flag on a short input packet
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Oct 2012 16:14:00 +0000 (18:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 07:08:09 +0000 (09:08 +0200)
commitcf08a8a1f600b2ac25f72cf5736247f3e95cc43d
treefa78b5a407caec549bda5d9c09bf29e7d4c5ad34
parent549a3c3d9665bdc0246fb6594b6e36ce3afadd21
ehci: Set int flag on a short input packet

According to 4.15.1.2 an interrupt must be raised when a short packet
is received. If we don't do this it may take a significant time for
the guest to notice a short trasnfer has completed, since only the last td
will have its IOC flag set, and a short transfer may complete in an earlier
packet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c