PERFORCE change 107421 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Oct 7 08:50:09 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107421
Change 107421 by hselasky at 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
More information about the p4-projects
mailing list