Add kbdmux(4) to GENERIC on i386 and amd64.

Remove the USB keyboard hack now that KBDMUX is enabled by default.
Allow it to be disabled if Safe Mode is selected.

Requested by:	scottl
Approved by:	re (scottl)
This commit is contained in:
emax 2006-04-04 17:03:44 +00:00
parent 0c9e2e4dab
commit 2a40fc7d0a
3 changed files with 5 additions and 11 deletions

View File

@ -138,6 +138,8 @@ device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support

View File

@ -40,7 +40,6 @@ variable promptwidth
variable bootkey
variable bootacpikey
variable bootusbkey
variable bootsafekey
variable bootverbosekey
variable bootsinglekey
@ -196,12 +195,6 @@ at-xy ." `--{__________) "
printmenuitem ." Boot FreeBSD in single user mode" bootsinglekey !
printmenuitem ." Boot FreeBSD with verbose logging" bootverbosekey !
printmenuitem ." Escape to loader prompt" escapekey !
s" arch-i386" environment? if
drop
printmenuitem ." Boot FreeBSD with USB keyboard" bootusbkey !
else
-2 bootusbkey !
then
printmenuitem ." Reboot" rebootkey !
menuX @ 20 at-xy
." Select option, [Enter] for default"
@ -267,10 +260,6 @@ set-current
then
0 boot
then
dup bootusbkey @ = if
s" 0x1" s" hint.atkbd.0.flags" setenv
0 boot
then
dup bootsafekey @ = if
s" arch-i386" environment? if
drop
@ -283,6 +272,7 @@ set-current
s" 0" s" hw.ata.atapi_dma" setenv
s" 0" s" hw.ata.wc" setenv
s" 0" s" hw.eisa_slots" setenv
s" 1" s" hint.kbdmux.0.disabled" setenv
0 boot
then
dup bootverbosekey @ = if

View File

@ -138,6 +138,8 @@ device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support