From owner-freebsd-current@FreeBSD.ORG Tue Jul 8 16:28:39 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59CFD37B401 for ; Tue, 8 Jul 2003 16:28:39 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC87943F3F for ; Tue, 8 Jul 2003 16:28:37 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h68NSUhR086052 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Wed, 9 Jul 2003 01:28:34 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h68NSRw6096418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 9 Jul 2003 01:28:28 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h68NSRgt037871 for ; Wed, 9 Jul 2003 01:28:27 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h68NSQi0037870 for current@FreeBSD.org; Wed, 9 Jul 2003 01:28:26 +0200 (CEST) Date: Wed, 9 Jul 2003 01:28:26 +0200 From: Bernd Walter To: current@FreeBSD.org Message-ID: <20030708232826.GV31285@cicely12.cicely.de> References: <20030708224524.GR44762@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030708224524.GR44762@funkthat.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i Subject: Re: usb dma patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 23:28:39 -0000 On Tue, Jul 08, 2003 at 03:45:24PM -0700, John-Mark Gurney wrote: > Hello, > > I have made usb bus_dma aware. I have only tested this patch so far on > an ohci controller in sparc64. I do have problems with isochronous > transfers, but I don't have an i386 box to test the original code on to > make sure it isn't my changes. Currently both umass and ums have been > tested and are working on sparc64. I would like to receive feed back > on i386 to make sure things don't break there. ohci code doesn't support isochronous so far. There is a patch to add this kern/52589. > The patch is at: > http://people.FreeBSD.org/~jmg/usb_dma.diff There are more changes than just bus_dma in this patchset. E.g. changing commets for specs and adding verdors. I've seen a number of changes in code places that are very similar to ehci, but there are no such changes in ehci. This was just with a quick look into the patchset so there might be other issues as well. You might also ask Josef Karthauser and Scott Long about this, because they already spend some time into busdma'ing USB and they found some performance issues with the current bus_dma implementation on FreeBSD. You should contact Scott Long about details. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de