Re: CFR: usb switchover patches

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Fri, 20 Feb 2009 08:28:43 -0700 (MST)
In message: <20090220100115.R53478_at_maildrop.int.zabbadoz.net>
            "Bjoern A. Zeeb" <bzeeb-lists_at_lists.zabbadoz.net> 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.
Received on Fri Feb 20 2009 - 14:31:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC