Date: Mon, 13 Jul 2009 09:19:13 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 165991 for review Message-ID: <200907130919.n6D9JD8X066038@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165991 Change 165991 by hselasky@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 .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907130919.n6D9JD8X066038>