usb-uhci: fix irq handling on error.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 8 Jul 2011 15:28:11 +0000 (17:28 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jul 2011 11:36:31 +0000 (13:36 +0200)
commitee997d5c95387706370de96942d9fb4d164485c5
tree30f703b99acb582e02c00b029e9daca8a720df9a
parentda90598868582f84824c2459763ee0cc2a6ab628
usb-uhci: fix irq handling on error.

Spec on UHCI_STS_USBERR: "If the TD on which the error interrupt
occurred also had its IOC bit set, both this bit and Bit 0 are set."

Make UHCI emulation do that.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-uhci.c