summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-07-12 08:48:19 +0000
committermpi <mpi@openbsd.org>2014-07-12 08:48:19 +0000
commitc5fa705347e29a87810ac141d319eed1fa9d9207 (patch)
tree4e4073e8a74324cfc31d367db454ae065e09e630
parentmlarkin found disabled code to print a battleship. improve it and enable. (diff)
downloadwireguard-openbsd-c5fa705347e29a87810ac141d319eed1fa9d9207.tar.xz
wireguard-openbsd-c5fa705347e29a87810ac141d319eed1fa9d9207.zip
Improve the definition of USBD_FORCE_SHORT_XFER, prompted by a question
from stsp@.
-rw-r--r--share/man/man9/usbd_transfer.99
1 files changed, 4 insertions, 5 deletions
diff --git a/share/man/man9/usbd_transfer.9 b/share/man/man9/usbd_transfer.9
index 75732998d5f..b5c0dd285c3 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.3 2014/03/27 13:33:02 jmc Exp $
+.\" $OpenBSD: usbd_transfer.9,v 1.4 2014/07/12 08:48:19 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: March 27 2014 $
+.Dd $Mdocdate: July 12 2014 $
.Dt USBD_TRANSFER 9
.Os
.Sh NAME
@@ -69,9 +69,8 @@ Do not report short reads, when the length of the data read is lower than
.Fa length ,
as errors.
.It Dv USBD_FORCE_SHORT_XFER
-Submit a supplementary zero length packet at the end of the data if
-.Fa length
-is a multiple of the endpoint's wMaxPacketSize.
+Submit a supplementary zero length packet at the end of the written data.
+Some requests may need such packet in order to be properly terminated.
.It Dv USBD_CATCH
Used in conjunction with the
.Dv USBD_SYNCHRONOUS