From owner-cvs-src-old@FreeBSD.ORG Thu May 21 17:39:34 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE5AB1065672 for ; Thu, 21 May 2009 17:39:34 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C987C8FC2C for ; Thu, 21 May 2009 17:39:34 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4LHdYJ0039693 for ; Thu, 21 May 2009 17:39:34 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4LHdYOJ039692 for cvs-src-old@freebsd.org; Thu, 21 May 2009 17:39:34 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200905211739.n4LHdYOJ039692@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Thu, 21 May 2009 17:39:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb usb_core.h usb_transfer.c src/sys/dev/usb/controller at91dci.c at91dci.h atmegadci.c atmegadci.h musb_otg.c musb_otg.h uss820dci.c uss820dci.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 17:39:35 -0000 thompsa 2009-05-21 17:39:21 UTC FreeBSD src repository Modified files: sys/dev/usb usb_core.h usb_transfer.c sys/dev/usb/controller at91dci.c at91dci.h atmegadci.c atmegadci.h musb_otg.c musb_otg.h uss820dci.c uss820dci.h Log: SVN rev 192552 on 2009-05-21 17:39:21Z by thompsa Improve device mode (gadget) stall handling. Some hardware easily comes out of sync with regard to whether the current or the next control transfer should be stalled, if a stall command is always issued before receiving the SETUP packet. After this patch the stall command will only be issued when a transfer should actually be stalled. Submitted by: Hans Petter Selasky Revision Changes Path 1.15 +2 -1 src/sys/dev/usb/controller/at91dci.c 1.6 +1 -0 src/sys/dev/usb/controller/at91dci.h 1.21 +2 -1 src/sys/dev/usb/controller/atmegadci.c 1.7 +1 -0 src/sys/dev/usb/controller/atmegadci.h 1.15 +2 -1 src/sys/dev/usb/controller/musb_otg.c 1.4 +1 -0 src/sys/dev/usb/controller/musb_otg.h 1.18 +7 -5 src/sys/dev/usb/controller/uss820dci.c 1.6 +2 -0 src/sys/dev/usb/controller/uss820dci.h 1.19 +1 -0 src/sys/dev/usb/usb_core.h 1.18 +6 -2 src/sys/dev/usb/usb_transfer.c