From owner-freebsd-usb@FreeBSD.ORG Mon Feb 23 01:08:57 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 C85D6106566B; Mon, 23 Feb 2009 01:08:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6EE8FC0C; Mon, 23 Feb 2009 01:08:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id D9DE2FF69; Mon, 23 Feb 2009 14:08:55 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AKuR-kJtJZqH; Mon, 23 Feb 2009 14:08:51 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 23 Feb 2009 14:08:51 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 314E511432; Mon, 23 Feb 2009 14:08:51 +1300 (NZDT) Date: Sun, 22 Feb 2009 17:08:50 -0800 From: Andrew Thompson To: current@freebsd.org Message-ID: <20090223010850.GB40325@citylink.fud.org.nz> References: <20090220033740.GA903@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090220033740.GA903@citylink.fud.org.nz> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@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: Mon, 23 Feb 2009 01:08:58 -0000 On Thu, Feb 19, 2009 at 07:37:40PM -0800, 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) I plan to do this tomorrow. The commit can not be done in one since it involves svn moves to/from the same location but it should only take a few mins. Andrew