Exclude USB drivers from main kernel image?
Warner Losh
imp at bsdimp.com
Sat Mar 3 18:42:12 UTC 2012
On Mar 3, 2012, at 11:02 AM, Hans Petter Selasky wrote:
> On Saturday 03 March 2012 13:48:05 Robert Millan wrote:
>> 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
>>> 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.
>>
>> 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 @
>>>
>>> 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.
>
> Hi,
>
> Your patch looks good.
>
> Are there any objections committing the patch attached to the previous e-mail?
Do all the platforms that had the devices removed work? Have they all been tested?
Warner
More information about the freebsd-arch
mailing list