summaryrefslogtreecommitdiffstats
path: root/lib/libusb/libusb20.3
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2009-07-30 00:11:41 +0000
committeralfred <alfred@FreeBSD.org>2009-07-30 00:11:41 +0000
commit6c89a5f102e50c4c64fe2243108d70c38997ccec (patch)
tree35d9a81dcb5e49cb309382bf22adb81c31afeef6 /lib/libusb/libusb20.3
parenteafde3dc55d5265075b824d9b12983759e0e2c50 (diff)
downloadFreeBSD-src-6c89a5f102e50c4c64fe2243108d70c38997ccec.zip
FreeBSD-src-6c89a5f102e50c4c64fe2243108d70c38997ccec.tar.gz
LibUSB v1.0:
- Significantly improve libusb10 support. - Many minor issues fixed. - P4 ID: 166189, 165853, 165991, 166052, 166069 Submitted by: hps Approved by: re
Diffstat (limited to 'lib/libusb/libusb20.3')
-rw-r--r--lib/libusb/libusb20.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libusb/libusb20.3 b/lib/libusb/libusb20.3
index 403ddba..f902883 100644
--- a/lib/libusb/libusb20.3
+++ b/lib/libusb/libusb20.3
@@ -310,8 +310,13 @@ packets are avoided for proxy buffers.
.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
.
OpenPOWER on IntegriCloud