freebsd-skq/sys/isa
Kyle Evans 3322036efb 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
..
isa_common.c
isa_common.h
isa_dmareg.h
isa_if.m
isahint.c
isareg.h
isavar.h Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
pnp.c
pnpparse.c
pnpreg.h
pnpvar.h
rtc.h
syscons_isa.c syscons: drop keyboard index from softc 2019-12-23 21:32:07 +00:00
vga_isa.c