Date: Mon, 23 Feb 2009 18:37:14 -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: <1235432234.91306.9.camel@shumai.marcuscom.com> In-Reply-To: <20090220033740.GA903@citylink.fud.org.nz> References: <20090220033740.GA903@citylink.fud.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-MViGH2MAgIAuldGzpZXS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-02-19 at 19:37 -0800, Andrew Thompson wrote: > Hi, >=20 >=20 > 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. >=20 > 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. >=20 > 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. >=20 > The change roughly goes >=20 > 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. Joe >=20 >=20 > The patch for the build system can be viewed here, > http://people.freebsd.org/~thompsa/usb_layout/usb_xover.diff >=20 > Now the changes... For starters the '2' will be removed from the > filenames but furthermore I want to flatten dev/usb2/core and=20 > dev/usb2/include into just dev/usb, keeping the peripheral drivers in > their subdirs. Its hard to show with a diff so simply browse the layout > here, http://people.freebsd.org/~thompsa/usb_layout/dev/ >=20 > Please send any minor/nitpick changes to me privately, keeping any list > replies to the overall changes. >=20 >=20 > regards, > Andrew > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-MViGH2MAgIAuldGzpZXS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkmjMycACgkQb2iPiv4Uz4fHiACfe0Q9AD1fyhdES+nLYDIeYnOa GjgAn3r/OUD2Vd7glhGYsBMAmTSS+arC =bu1f -----END PGP SIGNATURE----- --=-MViGH2MAgIAuldGzpZXS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1235432234.91306.9.camel>