svn commit: r249786 - head/sys/dev/usb/controller

Hans Petter Selasky hselasky at FreeBSD.org
Tue Apr 23 06:26:54 UTC 2013


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);


More information about the svn-src-head mailing list