Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 18:46:23 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Andrew Thompson <thompsa@FreeBSD.org>
Cc:        usb@FreeBSD.org, current@FreeBSD.org
Subject:   Re: CFR: usb switchover patches
Message-ID:  <1235432783.91306.10.camel@shumai.marcuscom.com>
In-Reply-To: <20090223234307.GA999@citylink.fud.org.nz>
References:  <20090220033740.GA903@citylink.fud.org.nz> <1235432234.91306.9.camel@shumai.marcuscom.com> <20090223234307.GA999@citylink.fud.org.nz>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, 2009-02-23 at 15:43 -0800, Andrew Thompson wrote:
> On Mon, Feb 23, 2009 at 06:37:14PM -0500, Joe Marcus Clarke wrote:
> > On Thu, 2009-02-19 at 19:37 -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)
> > 
> > The headers for usb are no longer installed.  This rebreaks hal as I
> > attempt to build both backends.  Can you make sure the old usb headers
> > are also installed (/usr/include/dev/legacy/usb)?  Without this, I will
> > have to redo the hal build code.
> 
> I was hoping I wouldnt have to do this as it breaks kdump since they
> both define the same typedefs. kdump builds its tables from trolling
> /usr/include.

Can the legacy directory be ignored?

> 
> I will have a look at this.

Thanks.  I know I'm going to start get build error reports soon.  I'd
like to put this to bed.

Joe

> 
> Andrew
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkmjNU4ACgkQb2iPiv4Uz4deyACgrzPT3xNrC9FiMFeXk4p58EaZ
WlAAoKAddITrv+vd5kzm/pB2OPVjLRpU
=hfU7
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1235432783.91306.10.camel>