From owner-freebsd-usb@FreeBSD.ORG Fri Feb 20 15:45:08 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 4114510656CE; Fri, 20 Feb 2009 15:45:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id E65EB8FC2C; Fri, 20 Feb 2009 15:45:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 0247E41C67E; Fri, 20 Feb 2009 16:45:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id LBxl7revk5HZ; Fri, 20 Feb 2009 16:45:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 9AAC241C678; Fri, 20 Feb 2009 16:45:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 99F0D4448E6; Fri, 20 Feb 2009 15:41:16 +0000 (UTC) Date: Fri, 20 Feb 2009 15:41:16 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: "M. Warner Losh" In-Reply-To: <20090220.082843.517086508.imp@bsdimp.com> Message-ID: <20090220154049.H53478@maildrop.int.zabbadoz.net> References: <20090220033740.GA903@citylink.fud.org.nz> <20090220062126.GA4137@citylink.fud.org.nz> <20090220100115.R53478@maildrop.int.zabbadoz.net> <20090220.082843.517086508.imp@bsdimp.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: usb@freebsd.org, FreeBSD current mailing list , thompsa@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 15:45:09 -0000 On Fri, 20 Feb 2009, M. Warner Losh wrote: > In message: <20090220100115.R53478@maildrop.int.zabbadoz.net> > "Bjoern A. Zeeb" writes: > : On Thu, 19 Feb 2009, Andrew Thompson wrote: > : > : > 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. > : > > : > Also, I wasnt planning on keeping the old usb kernel modules hooked into > : > the build unless someone particularly wants them. They can all still be > : > built into the kernel. > : > : what about renaming it to dev/usb1 instead of starting another top > : level directory in sys/ ? I mean I like legacy and would prefer to > : move netinet/ in there asap but;-)) > > We'd have to hack all the old usb1 drivers. Moving to > sys/legacy/dev/usb means minimal frobbing of the code. ok, that explains. #include . -- Bjoern A. Zeeb The greatest risk is not taking one.