From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 14:34:22 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6B481065672 for ; Mon, 27 Jun 2011 14:34:22 +0000 (UTC) (envelope-from l.pizzamiglio@bally-wulff.de) Received: from mail2.bally-wulff-berlin.de (mail2.bally-wulff-berlin.de [212.144.118.9]) by mx1.freebsd.org (Postfix) with ESMTP id 698718FC19 for ; Mon, 27 Jun 2011 14:34:22 +0000 (UTC) Received: from bwex.bally-wulff.de (unknown [192.9.204.106]) by mail2.bally-wulff-berlin.de (Postfix) with ESMTP id DB47399074; Mon, 27 Jun 2011 16:34:20 +0200 (CEST) Received: from pizzamig.bally.de ([192.9.205.30]) by bwex.bally-wulff.de with Microsoft SMTPSVC(6.0.3790.4675); Mon, 27 Jun 2011 16:34:21 +0200 Message-ID: <4E0894ED.1060109@bally-wulff.de> Date: Mon, 27 Jun 2011 16:34:21 +0200 From: Luca Pizzamiglio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.18) Gecko/20110622 Thunderbird/3.1.11 MIME-Version: 1.0 To: Hans Petter Selasky References: <4E084297.2040200@bally-wulff.de> <201106271119.51079.hselasky@c2i.net> <4E08662F.7000401@bally-wulff.de> <201106271320.34494.hselasky@c2i.net> In-Reply-To: <201106271320.34494.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Jun 2011 14:34:21.0218 (UTC) FILETIME=[4DA51820:01CC34D7] Cc: freebsd-usb@freebsd.org Subject: Re: Read from bulk end point X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 14:34:22 -0000 Hi, the buffer size mitigates the pre-fetch, but could not remove it all... Setting 1 as buffer size, the pre-fetch is reduces as 3 wMaxPacketSize IN transaction on the bus, but could not avoid it. There is a way to disable pre-fetch features? Or better, HPS could you point me where is implemented? (just to save time studying source code!) Is the prefetch also enabled for Interrupt end point? maybe I could have push to correctly redesign this USB board... thanks in advance! Luca On 06/27/11 13:20, Hans Petter Selasky wrote: > On Monday 27 June 2011 13:14:55 Luca Pizzamiglio wrote: >> It was strange, because for other endpoints I don't see this kind of >> behavior. > > Hi, > > That is perhaps because they send less data than wMaxPacketSize. > > --HPS