]> git.proxmox.com Git - qemu.git/commit
usb-ehci: Any packet completion except for NAK should set the interrupt
authorHans de Goede <hdegoede@redhat.com>
Fri, 2 Mar 2012 20:27:14 +0000 (21:27 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Mar 2012 11:28:03 +0000 (12:28 +0100)
commit2763cbc751c494dd2f58f902ad80a8048f9cfd7b
tree6853cb9ab0aa318d957dcbf73abafcbb22e02f62
parente850c2b45306b59d179c4df93d91edc1c3c45106
usb-ehci: Any packet completion except for NAK should set the interrupt

As clearly stated in the 2.3.2 of the EHCI spec, any time USBERRINT get
sets then if the td has its IOC bit set USBINT should be set as well.

This means that for any status except for USB_RET_NAK we should set
USBINT if the IOC bit is set.

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