diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-26 14:25:36 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-26 14:25:36 +0000 |
commit | 08c1a015b7a9388e87c2e4aa9706ce7eaf57dff9 (patch) | |
tree | 2c3a4c9eb7233e97c7126a381aa185208f015e28 | |
parent | d876b1af656e0a35ad5c9abfbcae17399a1f7732 (diff) |
Add a CONTEXT section.
-rw-r--r-- | share/man/man9/usbd_transfer.9 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/share/man/man9/usbd_transfer.9 b/share/man/man9/usbd_transfer.9 index 8d34bc54db7..f3b83f7ac10 100644 --- a/share/man/man9/usbd_transfer.9 +++ b/share/man/man9/usbd_transfer.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: usbd_transfer.9,v 1.1 2013/09/20 15:34:52 mpi Exp $ +.\" $OpenBSD: usbd_transfer.9,v 1.2 2014/03/26 14:25:35 mpi Exp $ .\" .\" Copyright (c) 2013 Martin Pieuchot .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 20 2013 $ +.Dd $Mdocdate: March 26 2014 $ .Dt USBD_TRANSFER 9 .Os .Sh NAME @@ -94,9 +94,18 @@ is used to submit the USB transfer described by to the corresponding .Xr usb 4 host controller to perform I/O with devices. -.Sh CODE REFERENCES -These functions are implemented in the file -.Pa sys/dev/usb/usbdi.c . +.Sh CONTEXT +.Fn usbd_setup_xfer +can be called during autoconf, from process context, or from interrupt context. +.Pp +.Fn usbd_transfer +can be called during autoconf, or from process context if +.Dv USBD_SYNCHRONOUS +has been passed via +.Fa flags +when initializing +.Fa xfer , +or during autoconf, from process context, or from interrupt context otherwise. .Sh SEE ALSO .Xr ehci 4 , .Xr ohci 4 , |