From owner-p4-projects@FreeBSD.ORG Mon Jul 13 09:19:14 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E77B91065673; Mon, 13 Jul 2009 09:19:13 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6C21106564A for ; Mon, 13 Jul 2009 09:19:13 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 950EA8FC0A for ; Mon, 13 Jul 2009 09:19:13 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n6D9JDxf066040 for ; Mon, 13 Jul 2009 09:19:13 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n6D9JD8X066038 for perforce@freebsd.org; Mon, 13 Jul 2009 09:19:13 GMT (envelope-from hselasky@FreeBSD.org) Date: Mon, 13 Jul 2009 09:19:13 GMT Message-Id: <200907130919.n6D9JD8X066038@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Cc: Subject: PERFORCE change 165991 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 09:19:14 -0000 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 .