qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Bug #757654: UHCI fails to signal stall response patch


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Bug #757654: UHCI fails to signal stall response patch
Date: Thu, 05 May 2011 14:05:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110318 Red Hat/3.1.9-3.el6_0 Thunderbird/3.1.9

diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index 346db3e..a51d89b 100644
--- a/hw/usb-uhci.c
+++ b/hw/usb-uhci.c
@@ -732,11 +732,21 @@ out:
      case USB_RET_STALL:
          td->ctrl |= TD_CTRL_STALL;
          td->ctrl&= ~TD_CTRL_ACTIVE;
+        s->status |= UHCI_STS_USBERR;

Just this line should be enougth.

      case USB_RET_BABBLE:
          td->ctrl |= TD_CTRL_BABBLE | TD_CTRL_STALL;
          td->ctrl&= ~TD_CTRL_ACTIVE;
+        s->status |= UHCI_STS_USBERR;

Likewise.

Tried that?

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]