From owner-p4-projects@FreeBSD.ORG Wed May 27 19:39:43 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6AA381065841; Wed, 27 May 2009 19:39:43 +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 26396106583F for ; Wed, 27 May 2009 19:39:43 +0000 (UTC) (envelope-from ccna.syl@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id CB5418FC14 for ; Wed, 27 May 2009 19:39:42 +0000 (UTC) (envelope-from ccna.syl@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so2647029ywe.13 for ; Wed, 27 May 2009 12:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=qRgKiI68uQdOGF2FGCABnhnBdHdCpKRsaQMMsW7wG8A=; b=K8wj8jyTUt5ArD6j1BdKeDW9bdfooTFQBfT0ePOpRVrATdojzcLQbZ+orpKBIaserU emA3FfU9OyB5ICeDe3z+XGV/KQXtg7qyxgNWwbpKRIqRQhkyIIbbIgHv11nv6jdO63/j tCURBSqneshErFx9jlpxAcf9b5f7LCmrGTFRc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=RKiDxKRPCbmQqnPLk4zG/VITSbqAjGC/hQIJPLPbDy5/U53Xoz/jieW/Xhun3ZSDIf XbFbd1nTydHWCly/G68mzdBA6NAEvP4ySlCfjCG4utbhP2OnJv7dAkI355xD3q76cEmc U4I0Si3HYjUIs66RgoMys1hORrBBPKnFIhOIY= MIME-Version: 1.0 Received: by 10.231.34.5 with SMTP id j5mr321850ibd.0.1243453181275; Wed, 27 May 2009 12:39:41 -0700 (PDT) In-Reply-To: <200905272129.39606.hselasky@c2i.net> References: <200905271656.n4RGuEgK056279@repoman.freebsd.org> <200905272129.39606.hselasky@c2i.net> From: Sylvestre Gallon Date: Wed, 27 May 2009 19:39:21 +0000 Message-ID: <164b4c9c0905271239w21e72ad2r14014dfdd11099c9@mail.gmail.com> To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Perforce Change Reviews Subject: Re: PERFORCE change 162889 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: Wed, 27 May 2009 19:39:44 -0000 On Wed, May 27, 2009 at 7:29 PM, Hans Petter Selasky wro= te: > On Wednesday 27 May 2009, Sylvestre Gallon wrote: >> +=A0=A0=A0=A0=A0=A0=A0case LIBUSB_TRANSFER_TYPE_ISOCHRONOUS: >> +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0/* what means frindex ? */ >> +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0libusb20_tr_setup_isoc(usb= 20_xfer, xfer->buffer, >> xfer->length, 0); > > Unlike in the kernel you need to specify the buffer+length pair for all > ISOCHRONOUS frames up to and including "max_frames-1". > > In you code you have only setup one frame [index 0] . > ok, if I understand fr_index arguments in libusb20_tr_setup_isoc refers to the number of isochronous packets ? Cheers, --=20 Sylvestre Gallon (http://devsyl.blogspot.com) Fifth Grade Student @ Epitech & Researcher @ LSE R&D @ Rathaxes (http://www.rathaxes.org)