This combines 2 mostly no-op changes affecting ft5406, ums, ukbd and some other drivers
- Remove evdev.ko linkage dependency on kbd driver
Move evdev_ev_kbd_event() helper from evdev to kbd.c as otherwise evdev unconditionally requires all keyboard and console stuff to be compiled in to kernel. This dependency happens as evdev_ev_kbd_event() helper references kbdsw global variable defined in kbd.c through use of kbdd_ioctl() macro.
While here make all keyboard drivers respect evdev_rcpt_mask while setting typematic rate and LEDs with evdev interface.
Requested by: Milan Obuch <bsd@dino.sk>
- remove soft context from evdev methods parameter list.
Now softc should be retrieved from struct edvev * pointer with evdev_get_softc() helper.
wmt(4) is a sample of driver that support both KPI.