From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZeXK-0002Ir-OH for qemu-devel@nongnu.org; Tue, 07 May 2013 05:50:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZeXI-00061W-OZ for qemu-devel@nongnu.org; Tue, 07 May 2013 05:50:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZeXI-00061L-Go for qemu-devel@nongnu.org; Tue, 07 May 2013 05:50:16 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r479oF8R001126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 7 May 2013 05:50:15 -0400 From: Gerd Hoffmann Date: Tue, 7 May 2013 11:50:07 +0200 Message-Id: <1367920207-1404-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1367920207-1404-1-git-send-email-kraxel@redhat.com> References: <1367920207-1404-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 4/4] xhci: handle USB_RET_BABBLE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 2c90e56..8813bdf 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -1716,6 +1716,11 @@ static int xhci_complete_packet(XHCITransfer *xfer) xhci_xfer_report(xfer); xhci_stall_ep(xfer); break; + case USB_RET_BABBLE: + xfer->status = CC_BABBLE_DETECTED; + xhci_xfer_report(xfer); + xhci_stall_ep(xfer); + break; default: fprintf(stderr, "%s: FIXME: status = %d\n", __func__, xfer->packet.status); -- 1.7.9.7