cvs commit: src/sys/dev/kbd kbd.c src/sys/dev/syscons syscons.c
Maksim Yevmenkin
emax at FreeBSD.org
Fri Mar 3 16:41:29 PST 2006
emax 2006-03-04 00:41:28 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/kbd kbd.c
sys/dev/syscons syscons.c
Log:
MFC:
Integrate kbdmux(4) into syscons(4) and kbd code.
By default syscons(4) will look for the kbdmux(4) keyboard first, and then,
if not found, look for any keyboard.
Current kbd code is modified so if kbdmux(4) is the current keyboard, all
new keyboards are automatically added to the kbdmux(4).
Switch to kbdmux(4) can be done at boot time, by loading kbdmux module at
the loader prompt, or at runtime, by kldload'ing the kbdmux module and
releasing current active keyboard.
If, for whatever reason, kbdmux(4) is not required/desired then just do
not load it and everything should work as before. It is also possible to
kldunload kbdmux at runtime and syscons(4) will automatically switch to
the first available keyboard.
Approved by: re (scottl)
Revision Changes Path
1.43.2.2 +24 -0 src/sys/dev/kbd/kbd.c
1.436.2.5 +42 -4 src/sys/dev/syscons/syscons.c
More information about the cvs-src
mailing list