From owner-freebsd-usb@FreeBSD.ORG Thu Apr 5 11:08:19 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D26016A402 for ; Thu, 5 Apr 2007 11:08:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id DC5FA13C44C for ; Thu, 5 Apr 2007 11:08:18 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe04.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 456178719; Thu, 05 Apr 2007 13:08:17 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 5 Apr 2007 13:07:56 +0200 User-Agent: KMail/1.9.5 References: <200703290011.l2T0BAKa035949@www.freebsd.org> <4613B17D.3020701@bindone.de> In-Reply-To: <4613B17D.3020701@bindone.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704051307.56065.hselasky@c2i.net> Cc: Subject: Re: usb/110988: [patch] Handling of quirk IGNORE_RESIDUE is umass.c is broken 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: Thu, 05 Apr 2007 11:08:19 -0000 On Wednesday 04 April 2007 16:09, grem wrote: > Hi, > > is there any way to get this into the source tree? Yes, I can take this patch into the P4 tree if you change it a little bit. I want this invalid residue detection to be all automatic: If the first residue you get is invalid, then it should use the USB transfer counts for residue for the rest of the lifetime of the device. Else it should use the standard invalid residue check. --HPS