Make the loader load ehci.ko by default.
authorSascha Wildner <saw@online.de>
Sun, 4 Jul 2010 15:50:44 +0000 (17:50 +0200)
committerSascha Wildner <saw@online.de>
Sun, 4 Jul 2010 16:30:48 +0000 (18:30 +0200)
commitdf620736c55399500e845f244030ac8991b58bae
tree21b199a39063e78c80f0ecb8376b009fb4273b17
parent0fb1c9de92fbf7b2525fb7365add5846669f3ab6
Make the loader load ehci.ko by default.

It seems to do more good than harm.

HOWEVER!

Unfortunately, There are systems that don't play nice with ehci. One
of my boxes, for example, won't reboot with ehci loaded.

Therefore, the behavior introduced with this commit can be disabled
by doing one of the following things:

1) 'unset ehci_load' from the loader prompt before booting.

2) Booting in 'safe mode'.

3) Putting 'hint.ehci.0.disabled=1' in /boot/loader.conf.

This is all modeled after the way the automatic loading of acpi.ko is
handled.
share/man/man4/ehci.4
sys/boot/common/help.common
sys/boot/common/loader.8
sys/boot/forth/beastie.4th
sys/boot/pc32/libi386/i386_module.c
sys/boot/pc32/loader/help.i386
sys/boot/pc32/loader/main.c