diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-07-12 08:48:20 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-07-12 08:48:20 +0000 |
commit | aa592702718a04c851a93745da84060c3d95cd15 (patch) | |
tree | e18bf7df02cebde17b12a5a825d82c57433ed61a /share | |
parent | 8fe02324f4b68677b5babc10d3a67d989da17ddc (diff) |
Improve the definition of USBD_FORCE_SHORT_XFER, prompted by a question
from stsp@.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/usbd_transfer.9 | 9 |
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 |