Date: Sat, 3 Mar 2012 13:48:05 +0100 From: Robert Millan <rmh@freebsd.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: Kostik Belousov <kostikbel@gmail.com>, Adrian Chadd <adrian@freebsd.org>, freebsd-usb@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Exclude USB drivers from main kernel image? Message-ID: <20120303124805.GA4725@thorin> In-Reply-To: <201202181720.27135.hselasky@c2i.net> References: <CAOfDtXNDXV-hM5t56XKj6-m-Bc=SSZsmB7JnEXsoDGdF2DEuqw@mail.gmail.com> <201202181720.27135.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--ZfOjI3PrQbgiZnxM Content-Type: multipart/mixed; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 18, 2012 at 05:20:27PM +0100, Hans Petter Selasky wrote: > The /etc/devd/usb.conf is regularly updated, though not automatically. It= =20 > should auto-load most kind of devices. Only additional case that comes to= mind=20 > is that USB serial console will not be active until devd has executed, if= that=20 > is enabled. If early USB serial output is desired, it can be enabled by enabling the module in bootloader. Is that an acceptable trade-off? > Your patch looks OK. Adding ARCH @ >=20 > Instead of commenting out, I would just remove those lines. Here's a new patch that removes the lines instead of commenting them out. Consistently with that, it also removes a few lines which were already commented out, using the same criteria. Also, it disables a few more USB drivers. Due to an oversight my previous patch didn't disable all drivers that devd can handle. Patch is tested with "make universe" on HEAD. --=20 Robert Millan --EeQfGwPcQSOJBaQU-- --ZfOjI3PrQbgiZnxM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/kFreeBSD) iQIcBAEBCAAGBQJPUhMEAAoJELd1onhloKnORW0P/RLDg4ie4j4H0zdSTVSp2VdZ 0rKiqr4Umme0zP4weE7who3d+TN96VSpb0PVLHapr/7/24PspdBZL5fpKRe6ewe1 036TXs5E6LzxBJEUDDoY6Jh1hQaDwvftLi1LTSXF4FIluzs01ySXeoFx7eDHKtyg zpevczl5D5Bi97lpBdLQWHgKk0S+0afcw4CA1CfFGSuTkslioMw+HSwC1pp8fGKY vzINI8PWGjEN5z8oGjT+6RktTot8TpRVb2Yhe8V0T5N4AJHMTg0kKEya+wWNiLd/ f8Ur4r8mQPCXma4Etb0NNpMXzCWXaHmI6V9HT60TCuF+PN8pyYakaesJI1k5hYW0 tJf9h32QAtfl2CTtMRJ4/ZfSFBOtJCVpMd3okwm0b4nKLmNsmZ8KpvowtN+7lfQe +DxPQalBBwSEAbbAF1aSdvLQ7GfnUTxlWCZZgDVlVnOBUXmb2ar04BiW+8ZiXHui 7TcbaQK9wC293U6hePhCUlkW+OzgtKVz39J+DCH3DBQSqGyG9I6NIAiwG9xIunwV 941M521a/8SLZvK1+d4vKxwsb9j14z8Vpd3XyYPDg/8fCsGISiPqRGeMqVUu47VC N4eMO2Qanv1rYE5l0ChC/kcnB/rRbitM/+CG2d9+XA0M3gIf8zRCGdIwPpuvBvuk FHJ8GL02AfLYso/rsX9F =Ek1B -----END PGP SIGNATURE----- --ZfOjI3PrQbgiZnxM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120303124805.GA4725>