freebsd-dev/sys/dev/kbd
Kyle Evans 21d166316a kbd: remove kbdsw, store pointer to driver in each keyboard_t
The previous implementation relied on a kbdsw array that mirrored the global
keyboards array. This is fine, but also requires extra locking consideration
when accessing to ensure that it's not being resized as new keyboards are
added.

The extra pointer costs little in a struct that there are relatively few of
on any given system, and simplifies locking requirements ever-so-slightly as
we only need to consider the locking requirements of whichever method is
being invoked.

__FreeBSD_version is bumped as any kbd modules will need rebuilt following
this change.
2019-12-16 03:12:53 +00:00
..
kbd.c kbd: remove kbdsw, store pointer to driver in each keyboard_t 2019-12-16 03:12:53 +00:00
kbdreg.h kbd: remove kbdsw, store pointer to driver in each keyboard_t 2019-12-16 03:12:53 +00:00
kbdtables.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00