linux-stable/drivers/input
Dmitry Torokhov ab4e019219 Input: define separate EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2
The desire to keep old names for the EVIOCGKEYCODE/EVIOCSKEYCODE while
extending them to support large scancodes was a mistake. While we tried
to keep ABI intact (and we succeeded in doing that, programs compiled
on older kernels will work on newer ones) there is still a problem with
recompiling existing software with newer kernel headers.

New kernel headers will supply updated ioctl numbers and kernel will
expect that userspace will use struct input_keymap_entry to set and
retrieve keymap data. But since the names of ioctls are still the same
userspace will happily compile even if not adjusted to make use of the
new structure and will start miraculously fail in the field.

To avoid this issue let's revert EVIOCGKEYCODE/EVIOCSKEYCODE definitions
and add EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 so that userspace can explicitly
select the style of ioctls it wants to employ.

Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-12-14 23:55:21 -08:00
..
gameport Input: emu10k1 - do not leave device enabled when probe fails 2010-10-13 07:49:23 -07:00
joystick Input: turbografx - fix reference counting 2010-12-01 09:20:34 -08:00
keyboard Input: add input driver for polled GPIO buttons 2010-12-06 17:15:15 -08:00
misc Input: pcf8574_keypad - fix error handling in pcf8574_kp_probe 2010-11-11 00:12:13 -08:00
mouse Input: synaptics - fix handling of 2-button ClickPads 2010-11-30 23:59:41 -08:00
serio Input: i8042 - add Sony VAIOs to MUX blacklist 2010-11-04 08:39:11 -07:00
tablet Input: wacom - add another Bamboo Pen ID (0xd4) 2010-12-10 23:04:43 -08:00
touchscreen Input: usbtouchscreen - add support for LG Flatron T1710B 2010-11-22 12:01:13 -08:00
apm-power.c Input: apm-power - fix crash when unloading modules 2008-03-24 11:02:06 -04:00
evbug.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
evdev.c Input: define separate EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 2010-12-14 23:55:21 -08:00
ff-core.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ff-memless.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fixp-arith.h
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h [IA64] Remove COMPAT_IA32 support 2010-02-08 10:42:17 -08:00
input-polldev.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
input.c Input: fix typo in keycode validation supporting large scancodes 2010-11-18 09:20:42 -08:00
joydev.c Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:52:56 -07:00
Kconfig Merge branch 'xen/fbdev' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2009-12-10 09:34:40 -08:00
Makefile Input: add generic support for sparse keymaps 2009-12-07 09:26:35 -08:00
mousedev.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2010-10-25 07:59:01 -07:00
sparse-keymap.c Input: sparse-keymap - switch to using new keycode interface 2010-09-09 22:01:07 -07:00
xen-kbdfront.c xenbus: prevent warnings on unhandled enumeration values 2010-10-18 10:49:36 -04:00