diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2021-09-18 13:44:02 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2021-09-18 13:44:02 +0000 |
| commit | 8b4c61472efc642c2aa2e8deb37e42f1b1d73be6 (patch) | |
| tree | 0f9d8167accca410238fd9428164731ffaf1ecb7 /sys/dev/microcode | |
| parent | 45fdbf4061086866687b96c82aaba4ae6933a2fa (diff) | |
Implement transmitting keyboard LED and buzzer control commands.
- enable TX on uPD7201 for keyboard port
- prepare TX queue and handle it in hardware interrupt and softint(9)
- send proper LED commands on WSKBDIO_SETLEDS
(XXX: KANA LED is not handled in wscons)
- return current LED settings on WSKBDIO_GETLEDS
- implement WSKBDIO_COMPLEXBELL by parsing struct wskbd_bell_data and
send proper buzzer commands
- handle pitch, period, and volume in cnbell(9)
(XXX: no description in cnbell(9) man pages)
- use proper queued TX function for omms_enable() and omms_disable()
- add DPRINTF()s for debug
- use C99 designated initializer and misc cosmetics
Tested on LUNA and its keyboard (3W4SD-098NDT).
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
