CFR: usb switchover patches
M. Warner Losh
imp at bsdimp.com
Fri Feb 20 07:31:05 PST 2009
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.
More information about the freebsd-current