summaryrefslogtreecommitdiffstats
path: root/sys/dev/kbdmux/kbdmux.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-07-17 08:19:19 +0000
committered <ed@FreeBSD.org>2011-07-17 08:19:19 +0000
commitb700662b066589afc182bbb9bfcd9b2f47ebf7b4 (patch)
tree00796d2a840b7a11ecdcf2e34011466bf0ee60ec /sys/dev/kbdmux/kbdmux.c
parentc3314d5c524fc613352a272b035dd5b3e6bea451 (diff)
downloadFreeBSD-src-b700662b066589afc182bbb9bfcd9b2f47ebf7b4.zip
FreeBSD-src-b700662b066589afc182bbb9bfcd9b2f47ebf7b4.tar.gz
Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP.
Back in 2009 I changed the ABI of the GIO_KEYMAP and PIO_KEYMAP ioctls to support wide characters. I created a patch to add ABI compatibility for the old calls, but I didn't get any feedback to that. It seems now people are upgrading from 8 to 9 they experience this issue, so add it anyway.
Diffstat (limited to 'sys/dev/kbdmux/kbdmux.c')
-rw-r--r--sys/dev/kbdmux/kbdmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c
index 64d5c24..a21b37c 100644
--- a/sys/dev/kbdmux/kbdmux.c
+++ b/sys/dev/kbdmux/kbdmux.c
@@ -1198,6 +1198,7 @@ kbdmux_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
break;
case PIO_KEYMAP: /* set keyboard translation table */
+ case OPIO_KEYMAP: /* set keyboard translation table (compat) */
case PIO_KEYMAPENT: /* set keyboard translation table entry */
case PIO_DEADKEYMAP: /* set accent key translation table */
KBDMUX_LOCK(state);
OpenPOWER on IntegriCloud