Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2013 06:26:54 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249786 - head/sys/dev/usb/controller
Message-ID:  <201304230626.r3N6QsWp084263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304230626.r3N6QsWp084263>