kernel_optimize_test/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
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
evbug.c
evdev.c Input: define separate EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 2010-12-14 23:55:21 -08:00
ff-core.c
ff-memless.c
fixp-arith.h
input-compat.c
input-compat.h
input-polldev.c
input.c Input: fix typo in keycode validation supporting large scancodes 2010-11-18 09:20:42 -08:00
joydev.c
Kconfig
Makefile
mousedev.c
sparse-keymap.c
xen-kbdfront.c