freebsd-skq/sys/sparc64
marius bfe21aa400 MFC: sys/conf/files.sparc64 1.83; sys/conf/options.sparc64 1.24;
sys/dev/uart/uart_kbd_sun.c 1.10, 1.11 (partial), 1.13;
     sys/dev/uart/uart_kbd_sun.h 1.3; sys/sparc64/conf/NOTES 1.30

- In sunkbd_probe_keyboard() don't bother to determine the keyboard layout
  as we have no use for that info. Instead let this function return the
  keyboard ID and verify at its invocation in sunkbd_configure() that we're
  talking to a Sun type 4/5/6 keyboard, i.e. a keyboard supported by this
  driver.
- Add an option SUNKBD_EMULATE_ATKBD whose code is based on the respective
  code in ukbd(4) and like UKBD_EMULATE_ATSCANCODE causes this driver to
  emit AT keyboard/KB_101 compatible scan codes in K_RAW mode as assumed by
  kbdmux(4). Unlike UKBD_EMULATE_ATSCANCODE, SUNKBD_EMULATE_ATKBD also
  triggers the use of AT keyboard maps and thus allows to use the map files
  in share/syscons/keymaps with this driver at the cost of an additional
  translation (in ukbd(4) this just is the way of operation).
- Implement an option SUNKBD_DFLT_KEYMAP, which like the equivalent options
  of the other keyboard drivers allows to specify the default in-kernel
  keyboard map. For obvious reasons this made to only work when also using
  SUNKBD_EMULATE_ATKBD.
- Implement sunkbd_check(), sunkbd_check_char() and sunkbd_clear_state(),
  which are also required for interoperability with kbdmux(4).
- Implement K_CODE mode and FreeBSD keypad compose.
- As a minor hack define KBD_DFLT_KEYMAP also in the !SUNKBD_EMULATE_ATKBD
  case so we can obtain fkey_tab from <dev/kbd/kbdtables.h> rather than
  having to duplicate it and #ifdef some more code.
- Don't use the TX-buffer for writing the two command bytes for setting the
  keyboard LEDs as this consequently requires a hardware FIFO that is at
  least two bytes in depth, which the NMOS-variant of the Zilog SCCs doesn't
  have. Thus use an inlined version of uart_putc() to consecutively write
  the command bytes (a cleaner approach would be to do this via the soft
  interrupt handler but that variant wouldn't work while in ddb(4)). [1]
- Fix some minor style(9) bugs.

PR:		90316 [1]
2007-09-30 19:33:19 +00:00
..
central MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial), 2006-01-30 22:30:51 +00:00
compile
conf MFC: sys/conf/files.sparc64 1.83; sys/conf/options.sparc64 1.24; 2007-09-30 19:33:19 +00:00
creator - Declare lookup tables etc. const. 2005-07-10 11:16:34 +00:00
ebus MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial), 2006-01-30 22:30:51 +00:00
fhc MFC: sys/sparc64/central/central.c 1.11, sys/sparc64/ebus/ebus.c 1.25 (partial), 2006-01-30 22:30:51 +00:00
include MFC 2007-04-02 06:09:43 +00:00
isa MFC: 1.17 2006-06-19 20:20:24 +00:00
pci MFC: psycho.c 1.61; psychoreg.h 1.12 2007-05-01 13:31:33 +00:00
sbus Check the return value of bus_setup_intr() when setting up the 2007-01-30 15:44:16 +00:00
sparc64 MFC revisions 1.152 and 1.159 2007-04-04 03:36:12 +00:00