From owner-freebsd-usb@FreeBSD.ORG Wed Aug 20 15:48:11 2008 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 34F0D1065675; Wed, 20 Aug 2008 15:48:11 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 0489B8FC12; Wed, 20 Aug 2008 15:48:09 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Z-K7CIdMrfcA:10 a=6MIg2jpqvhTpo/gR8GzG7Q==:17 a=ZmIiC_jQAAAA:8 a=cg22DNGm0EXMjJ7ajg0A:9 a=IsgZ0CdjHdk2yjm2WjwA:7 a=8G8OKl_lQF0n8BLTan8PtZpJnjIA:4 a=LY0hPdMaydYA:10 Received: from [62.113.133.243] (account mc467741@c2i.net [62.113.133.243] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1044948009; Wed, 20 Aug 2008 17:48:07 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 20 Aug 2008 17:49:50 +0200 User-Agent: KMail/1.9.7 References: <20080819194413.GB16977@elvis.mu.org> <200808201619.22720.naylor.b.david@gmail.com> In-Reply-To: <200808201619.22720.naylor.b.david@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808201749.51953.hselasky@c2i.net> Cc: usb@freebsd.org, David Naylor , current@freebsd.org Subject: Re: HEADSUP new usb code coming in. 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: Wed, 20 Aug 2008 15:48:11 -0000 On Wednesday 20 August 2008, David Naylor wrote: > On Tuesday 19 August 2008 21:44:13 Alfred Perlstein wrote: > > After a long period of review and testing I am on the verge of > > committing Hans Peter's new usb stack to -current. > > > > The patchset requires a SMALL _493_ line diff to the main code, > > mostly bug fixes to arm. And then a large number of new files > > for the usb system. > > > > The new usb system will be committed as separate files with > > the intention of folding them over the old files before the > > 9.0 release. > > > > The diff to the main files is here: > > http://mu.org/~bright/usb2/usb2_release_001.diff > > > > The whole diff, including new files is here: > > http://mu.org/~bright/usb2/usb4bsd.diff.gz > > > > FAQ: > > Q. Has this been reviewed? > > A. Yes, pretty strongly by myself and we've consulted with > > various others, Warner, Scott and Andrew for review/testing. > > I wouldn't say that Warner or Scott have given full review > > but just about all questions have been answered. > > > > Q. Can we change the name from "usb2_" to my favorite name? > > A. No. This is for a short period, stop being so annoying. > > > > Q. What about the old usb code? > > A. What about it? :D > > > > Q. What about ttys? > > A. I don't know, we'll address the mpsafe aspects of ttys shortly, > > Hans is very responsive to SMP issues. > > > > Q. Shouldn't you wait? > > A. Wait for what? No. > > > > Q. I have some whitespace nits, can you do those? > > A. No. It's a 100k line diff and a 3meg delta, we tried really hard > > to get all whitespace right, but you're welcome to point things out after > > the commit. > > > > Thanks! > > This sounds great :-) > > I see that in the patch usb2 is not enabled in the kernel by default. Is > there a timeline for it to be enabled and/or could you provide an alternate > kernel config with usb2 enabled (temporarily)? For KB920X boards the USB2 is enabled by default. It is not much you need: +device usb2_core +device usb2_controller # EHCI/OHCI/UHCI/AT91DCI +device usb2_storage # USB mass storage support +device usb2_ethernet # USB ethernet support +device usb2_wlan # USB wireless LAN support +device usb2_serial # USB serial support +device usb2_quirk # USB quirks +device usb2_template # Device Side Mode USB templates +device usb2_image # USB Scanner support > > Lastly, is there a web-page where one can check up on the progress of the > integration of the new code (and the removal of the old code) [preferably > an up-to-date web-page]. No, there is no such webpage. --HPS