PERFORCE change 165991 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Jul 13 09:19:14 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165991
Change 165991 by hselasky at hselasky_laptop001 on 2009/07/13 09:18:29
LibUSB:
- add more documentation to manual page
Affected files ...
.. //depot/projects/usb/src/lib/libusb/libusb20.3#3 edit
Differences ...
==== //depot/projects/usb/src/lib/libusb/libusb20.3#3 (text+ko) ====
@@ -310,8 +310,13 @@
.Pp
.
.Fn libusb20_tr_get_max_total_length
-function will return the maximum value for the length sum of all
-USB frames associated with an USB transfer.
+function will return the maximum value for the data length sum of all USB
+frames associated with an USB transfer.
+In case of control transfers the value returned does not include the
+length of the SETUP packet, 8 bytes, which is part of frame zero.
+The returned value of this function is always aligned to the maximum
+packet size, wMaxPacketSize, of the endpoint which the USB transfer is
+bound to.
.
.Pp
.
More information about the p4-projects
mailing list