From owner-freebsd-usb@FreeBSD.ORG Fri Feb 20 04:08:31 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1225F106564A; Fri, 20 Feb 2009 04:08:31 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id CC9968FC15; Fri, 20 Feb 2009 04:08:30 +0000 (UTC) (envelope-from marcus@freebsd.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id n1K3kNK8008866; Thu, 19 Feb 2009 22:46:24 -0500 (EST) Received: from [10.1.1.20] (jclarke-vpn.cisco.com [172.18.254.237]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id n1K3kLUM006922; Thu, 19 Feb 2009 22:46:22 -0500 (EST) Message-ID: <499E278D.7060406@freebsd.org> Date: Thu, 19 Feb 2009 22:46:21 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Andrew Thompson References: <20090220033740.GA903@citylink.fud.org.nz> In-Reply-To: <20090220033740.GA903@citylink.fud.org.nz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: CFR: usb switchover patches 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: Fri, 20 Feb 2009 04:08:31 -0000 Andrew Thompson wrote: > Hi, > > > I have put together a proposed set of changes for moving USB2 to its > permanent location. The layout has some differences to how it is right > now so I am looking for feedback. > > The changeover requires that the old usb stack be available until 8.0 is > branched and moves it from sys/dev/usb to sys/legacy/dev/usb. The reason > for this location is to reduce the changes in #includes (using -I > compiler hacks). The patch doesnt show userland changes required for > usbdevs and friends but they will be done. > > Some ports will break. Any that exist solely for the old usb stack can > be marked broken (like udesc_dump). I dont know that the fallout will be > like for the others, maybe portmgr would be interested in doing a build > test. > > The change roughly goes > > svn move sys/dev/usb -> sys/legacy/dev/usb > svn move sys/dev/usb2 -> sys/dev/usb (with fixups, see below) > > > The patch for the build system can be viewed here, > http://people.freebsd.org/~thompsa/usb_layout/usb_xover.diff > > Now the changes... For starters the '2' will be removed from the > filenames but furthermore I want to flatten dev/usb2/core and > dev/usb2/include into just dev/usb, keeping the peripheral drivers in > their subdirs. Its hard to show with a diff so simply browse the layout > here, http://people.freebsd.org/~thompsa/usb_layout/dev/ > > Please send any minor/nitpick changes to me privately, keeping any list > replies to the overall changes. What about libusb20? Will this name change, or is this the final name (same question for the libusb20 functions)? I need to know for hal. Thanks. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome