]> git.baikalelectronics.ru Git - kernel.git/commit
Input: extend the number of event (and other) devices
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Oct 2012 16:07:24 +0000 (09:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Oct 2012 16:37:55 +0000 (09:37 -0700)
commit9c30303fae2f5cf280db3d185858aa43bc777d87
treeac592d99a390f1aecf9944e10d05abe4ec0f1b76
parent77cd8a1a8fdfce397e8ec6ea61afae773bca39f1
Input: extend the number of event (and other) devices

Extend the amount of character devices, such as eventX, mouseX and jsX,
from a hard limit of 32 per input handler to about 1024 shared across
all handlers.

To be compatible with legacy installations input handlers will start
creating char devices with minors in their legacy range, however once
legacy range is exhausted they will start allocating minors from the
dynamic range 256-1024.

Reviewed-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/evdev.c
drivers/input/input.c
drivers/input/joydev.c
drivers/input/mousedev.c
include/linux/input.h