[Qemu-devel] [PATCH 08/13] usb-ehci: Fix cerr tracking

2012-03-02 Thread Hans de Goede
cerr should only be decremented on errors which cause XactErr to be set, and when that happens the failing transaction should be retried until cerr reaches 0 and only then should USBSTS_ERRINT be set (and inactive cleared and USBSTS_INT set if requested). Since we don't have any hardware level err

[Qemu-devel] [PATCH 08/13] usb-ehci: Fix cerr tracking

2012-03-02 Thread Hans de Goede
cerr should only be decremented on errors which cause XactErr to be set, and when that happens the failing transaction should be retried until cerr reaches 0 and only then should USBSTS_ERRINT be set (and inactive cleared and USBSTS_INT set if requested). Since we don't have any hardware level err