summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2015-05-04 14:36:27 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2015-05-04 14:36:27 +0000
commit5f26850b0d13eaccf4f171829ebed49def0ce599 (patch)
tree525f6ee8fdf673f1815dfd85845983340394284b
parentc437e0058a9ba5ef522f4bc03be9005b55e1430d (diff)
tweak previous;
-rw-r--r--share/man/man9/usbd_open_pipe.914
-rw-r--r--share/man/man9/usbd_transfer.95
2 files changed, 11 insertions, 8 deletions
diff --git a/share/man/man9/usbd_open_pipe.9 b/share/man/man9/usbd_open_pipe.9
index f473bed7907..0a7e922f0da 100644
--- a/share/man/man9/usbd_open_pipe.9
+++ b/share/man/man9/usbd_open_pipe.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usbd_open_pipe.9,v 1.2 2015/05/04 14:18:13 schwarze Exp $
+.\" $OpenBSD: usbd_open_pipe.9,v 1.3 2015/05/04 14:36:26 jmc Exp $
.\"
.\" Copyright (c) 2015 Sean Levy <attila@stalphonsos.com>
.\"
@@ -43,12 +43,13 @@ The
function takes the following arguments:
.Bl -tag -width callback
.It Fa iface
-the USB interface for which the pipe is to be created.
+The USB interface for which the pipe is to be created.
.It Fa address
The address of the endpoint in that interface to which the pipe should be
connected.
.It Fa flags
-A bitmask of flags. Currently there is only one flag bit defined:
+A bitmask of flags.
+Currently there is only one flag bit defined:
.Bl -tag -width xxx -offset indent
.It Dv USBD_EXCLUSIVE_ACCESS
Do not allow other pipes to use this endpoint while this pipe exists.
@@ -68,8 +69,8 @@ The USB interface for which the pipe is to be created.
.It Fa address
The endpoint in that interface to which the pipe should be connected.
.It Fa flags
-A bitmask of flags. These flags are not interpreted in the same
-way as the
+A bitmask of flags.
+These flags are not interpreted in the same way as the
.Fa flags
passed to
.Fn usbd_open_pipe .
@@ -78,7 +79,8 @@ Instead,
implicitly turns on the
.Dv USBD_EXCLUSIVE_ACCESS
bit for the pipe, disallowing multiple interrupt pipes for
-the same endpoint. The
+the same endpoint.
+The
.Fa flags
argument in this case is instead passed directly to
.Xr usbd_setup_xfer 9
diff --git a/share/man/man9/usbd_transfer.9 b/share/man/man9/usbd_transfer.9
index 68f4fd0b030..74eac53dfe3 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.6 2015/05/04 10:12:34 mpi Exp $
+.\" $OpenBSD: usbd_transfer.9,v 1.7 2015/05/04 14:36:26 jmc Exp $
.\"
.\" Copyright (c) 2013 Martin Pieuchot
.\"
@@ -31,7 +31,8 @@
.Fn usbd_transfer "struct usbd_xfer *xfer"
.Sh DESCRIPTION
These functions provide a controller independent mechanism to perform USB
-data transfers. They make use of a pipe created by
+data transfers.
+They make use of a pipe created by
.Xr usbd_open_pipe 9
or
.Xr usbd_open_pipe_intr 9 .