Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2006 15:50:02 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 107421 for review
Message-ID:  <200610071550.k97Fo2Xh061908@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107421

Change 107421 by hselasky@hselasky_mini_itx on 2006/10/07 15:49:59

	Update documentation.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/README#9 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/README#9 (text+ko) ====

@@ -150,6 +150,8 @@
 - "n_setup" is a number telling the USB system how many USB transfers
   should be unsetup
 
+NOTE: This function can sleep, waiting for active mutexes to become unlocked!
+
 /*------------------------------------------------------------------------*
  * void
  * usbd_transfer_start(xfer)
@@ -172,18 +174,6 @@
       "xfer->error=USBD_CANCELLED", before this function returns
 
 /*------------------------------------------------------------------------*
- * void
- * usbd_transfer_drain(priv_wait, priv_mtx)
- *------------------------------------------------------------------------*/
-
-- "priv_wait" is a pointer to a structure of type "struct usbd_memory_wait"
-
-- "priv_mtx" is a pointer to a mutex protecting the "priv_wait" structure
-
-NOTE: This function returns when the mutex "priv_mtx", is not used by the USB
-system any more.
-
-/*------------------------------------------------------------------------*
  * struct usbd_config {
  *   type, endpoint, direction, interval, timeout, frames, index
  *   flags, bufsize, callback



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