From owner-cvs-all@FreeBSD.ORG Tue Apr 12 00:26:40 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A7216A4CF; Tue, 12 Apr 2005 00:26:40 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89AB543D3F; Tue, 12 Apr 2005 00:26:40 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3C0QeGj035264; Tue, 12 Apr 2005 00:26:40 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3C0QenG035263; Tue, 12 Apr 2005 00:26:40 GMT (envelope-from iedowse) Message-Id: <200504120026.j3C0QenG035263@repoman.freebsd.org> From: Ian Dowse Date: Tue, 12 Apr 2005 00:26:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb ucom.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 00:26:40 -0000 iedowse 2005-04-12 00:26:40 UTC FreeBSD src repository Modified files: sys/dev/usb ucom.c Log: Fix the handling of the UCS_RXSTOP flag so that it always tracks whether or not the receive pipe is stopped. This ensures that we do not attempt to start the same transfer twice, and it allows ucomstop() to skip the restarting of the read pipe if it was not originally running, such as when called indirectly from ucomreadcb(). PR: kern/79420 MFC after: 1 day Revision Changes Path 1.57 +8 -5 src/sys/dev/usb/ucom.c