freebsd-skq/sys/dev/syscons
kevans 064bbc2ea2 syscons: drop keyboard index from softc
Analysis seems to reveal that sc->keyboard >= 0 implies sc->kbd != NULL and
there's no such scenario where sc->kbd is set (and theoretically used to
rebuild sc->keyboard) with the keyboard unavailable.

Drop the index softc. The index is only explicitly needed in few places, in
which case we can just as easily grab it from sc->kbd. There's no need for
keeping sc->kbd and sc->keyboard in sync when it can be readily accomplished
with just the former.
2019-12-23 21:32:07 +00:00
..
apm
blank
daemon
dragon
fade
fire
fonts
green
logo
plasma
rain
snake
star
warp
scgfbrndr.c
schistory.c
scmouse.c
scterm-dumb.c Attempt to fix build breakage in r344458. 2019-02-26 09:44:10 +00:00
scterm-sc.c scterm-sc.c: convert source file to UTF-8 encoding 2019-12-03 16:45:53 +00:00
scterm-teken.c My recent fix for programmable function keys in syscons only worked 2019-02-05 16:59:29 +00:00
scterm.c
sctermvar.h Restore syscons' terminal emulators. The trivial fixes to make them compile 2019-02-21 08:37:39 +00:00
scvesactl.c
scvgarndr.c
scvidctl.c
scvtb.c
syscons.c syscons: drop keyboard index from softc 2019-12-23 21:32:07 +00:00
syscons.h syscons: drop keyboard index from softc 2019-12-23 21:32:07 +00:00
sysmouse.c