aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vkbd
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-07-17 08:19:19 +0000
committerEd Schouten <ed@FreeBSD.org>2011-07-17 08:19:19 +0000
commit78d4d8eeb241bfc6f0a9487894945886b3ee2b41 (patch)
tree00796d2a840b7a11ecdcf2e34011466bf0ee60ec /sys/dev/vkbd
parent75f93b2483008b96ee9d63b53abe2850008a433f (diff)
downloadsrc-78d4d8eeb241bfc6f0a9487894945886b3ee2b41.tar.gz
src-78d4d8eeb241bfc6f0a9487894945886b3ee2b41.zip
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.
Notes
Notes: svn path=/head/; revision=224126
Diffstat (limited to 'sys/dev/vkbd')
-rw-r--r--sys/dev/vkbd/vkbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vkbd/vkbd.c b/sys/dev/vkbd/vkbd.c
index 15cf05934f0b..42fca400c1d6 100644
--- a/sys/dev/vkbd/vkbd.c
+++ b/sys/dev/vkbd/vkbd.c
@@ -1208,6 +1208,7 @@ vkbd_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 */
state->ks_accents = 0;