Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.
authormiod <miod@openbsd.org>
Wed, 16 Jul 2008 20:03:20 +0000 (20:03 +0000)
committermiod <miod@openbsd.org>
Wed, 16 Jul 2008 20:03:20 +0000 (20:03 +0000)
commitaa6164b3aaee5d8f66ff37502f1193524b99b9ce
tree55a6200dea3e63bed50232540beebcad53b8d5b3
parent317210ec029fd94e29b7f420389172a4903d0ae1
Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints
pckbc that the device does not behave correctly to the ``set translation''
commands.

Set this flag if we are running on a Tadpole Ultrabook machine, which needs it.
This makes the built-in keyboard work correctly on this laptop (with the
help of the software translation pckbd diff).

tested & ok kettenis@
15 files changed:
sys/arch/alpha/alpha/api_up1000.c
sys/arch/alpha/alpha/dec_1000a.c
sys/arch/alpha/alpha/dec_2100_a50.c
sys/arch/alpha/alpha/dec_550.c
sys/arch/alpha/alpha/dec_6600.c
sys/arch/alpha/alpha/dec_axppci_33.c
sys/arch/alpha/alpha/dec_eb164.c
sys/arch/alpha/alpha/dec_eb64plus.c
sys/arch/alpha/alpha/dec_kn20aa.c
sys/arch/alpha/alpha/dec_kn300.c
sys/arch/amd64/amd64/wscons_machdep.c
sys/arch/i386/i386/wscons_machdep.c
sys/arch/sparc64/dev/pckbc_ebus.c
sys/dev/ic/pckbc.c
sys/dev/ic/pckbcvar.h