CFR: usb switchover patches

Andrew Thompson thompsa at FreeBSD.org
Sun Feb 22 17:08:58 PST 2009


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


More information about the freebsd-current mailing list