From owner-svn-src-head@FreeBSD.ORG Tue Apr 23 06:26:54 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 95E4787B; Tue, 23 Apr 2013 06:26:54 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 870F51ADB; Tue, 23 Apr 2013 06:26:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3N6QssF084264; Tue, 23 Apr 2013 06:26:54 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3N6QsWp084263; Tue, 23 Apr 2013 06:26:54 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201304230626.r3N6QsWp084263@svn.freebsd.org> From: Hans Petter Selasky Date: Tue, 23 Apr 2013 06:26:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249786 - head/sys/dev/usb/controller X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 06:26:54 -0000 Author: hselasky Date: Tue Apr 23 06:26:54 2013 New Revision: 249786 URL: http://svnweb.freebsd.org/changeset/base/249786 Log: Add descriptive comment. Modified: head/sys/dev/usb/controller/xhci.c Modified: head/sys/dev/usb/controller/xhci.c ============================================================================== --- head/sys/dev/usb/controller/xhci.c Tue Apr 23 01:09:22 2013 (r249785) +++ head/sys/dev/usb/controller/xhci.c Tue Apr 23 06:26:54 2013 (r249786) @@ -554,6 +554,12 @@ xhci_init(struct xhci_softc *sc, device_ void xhci_uninit(struct xhci_softc *sc) { + /* + * NOTE: At this point the control transfer process is gone + * and "xhci_configure_msg" is no longer called. Consequently + * waiting for the configuration messages to complete is not + * needed. + */ usb_bus_mem_free_all(&sc->sc_bus, &xhci_iterate_hw_softc); cv_destroy(&sc->sc_cmd_cv);