Date: Sat, 18 Feb 2012 17:20:27 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Cc: Kostik Belousov <kostikbel@gmail.com>, Adrian Chadd <adrian@freebsd.org>, freebsd-arch@freebsd.org, Robert Millan <rmh@freebsd.org> Subject: Re: Exclude USB drivers from main kernel image? Message-ID: <201202181720.27135.hselasky@c2i.net> In-Reply-To: <CAOfDtXNDXV-hM5t56XKj6-m-Bc=SSZsmB7JnEXsoDGdF2DEuqw@mail.gmail.com> References: <CAOfDtXNDXV-hM5t56XKj6-m-Bc=SSZsmB7JnEXsoDGdF2DEuqw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 18 February 2012 14:07:18 Robert Millan wrote: > Hi, > > If I recall correctly from the /etc/devd/usb.conf discussion, decision > was taken not to exclude USB drivers from main kernel image (and leave > it to devd to auto-load them) because of timing in the 9.0 release > cycle. > > Now that 9.0 is released, would it make sense to do this change in > HEAD and make the kernel image about ~290 kiBs smaller? Attached patch > does this for all USB drivers that can be handled by devd (except ukbd > and umass for obvious reasons). > > Note that a very similar change has already been tested for several > months in Debian GNU/kFreeBSD kernels, with no observable ill effects. Hi, The /etc/devd/usb.conf is regularly updated, though not automatically. It should auto-load most kind of devices. Only additional case that comes to mind is that USB serial console will not be active until devd has executed, if that is enabled. Your patch looks OK. Adding ARCH @ Instead of commenting out, I would just remove those lines. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202181720.27135.hselasky>