summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/maple_keyb.c
Commit message (Collapse)AuthorAgeFilesLines
* sh: maple: Support block reads and writes.Adrian McMenamin2009-02-271-15/+22
| | | | | | | | | | | | | | | | | | This patch updates the maple bus to support asynchronous block reads and writes as well as generally improving the quality of the code and supporting concurrency (all needed to support the Dreamcast visual memory unit - a driver will also be posted for that). Changes in the bus driver necessitate some changes in the two maple bus input drivers that are currently in mainline. As well as supporting block reads and writes this code clean up removes some poor handling of locks, uses an atomic status variable to serialise access to devices and more robusly handles the general performance problems of the bus. Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* maple: Kill useless private_data pointer.Paul Mundt2008-08-041-7/+8
| | | | | | | We can simply wrap in to the dev_set/get_drvdata(), there's no reason to track an extra level of private data on top of the struct device. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* maple: Clean up maple_driver_register/unregister routines.Paul Mundt2008-08-041-3/+3
| | | | | | | These were completely inconsistent. Clean these up to take a maple_driver pointer directly for consistency. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* input: Clean up maple keyboard driverAdrian McMenamin2008-08-041-69/+32
| | | | | | | | Have a single probe function instead of a probe and a connect function. Also tidy a comment. Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* maple: allow removal and reinsertion of keyboard driver moduleAdrian McMenamin2008-08-041-43/+81
| | | | | | | | | | | | | Allow the removal (and subsequent reinsertion) of the maple_keyb (maple keyboard) driver by adding a working removal function. Also tidy long lines. Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: More header path fixups for mach dir refactoring.Paul Mundt2008-07-291-1/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* Input: add support for SEGA Dreamcast keyboardAdrian McMenamin2007-10-121-0/+252
| | | | | | Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> Acked-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: kill maple_keyb.c driverPaul Mundt2006-12-081-166/+0
| | | | | | | | | | The bus for this was removed entirely some time ago, as well as most of the drivers that referenced it. maple_keyb seems to have been the odd one out, and was still sitting in the source tree (though not actually part of the build system). Kill off the rest of it.. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: keyboards - handle errors when registering input devicesDmitry Torokhov2006-11-051-4/+10
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocationDmitry Torokhov2005-10-281-41/+31
| | | | | | | | | Input: convert drivers/input/keyboard to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Input: maple_keyb - remove useless dc_kbd_open and dc_kbd_closeDmitry Torokhov2005-05-291-20/+0
| | | | | | functions as they are not doing anything. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: whitespace fixes in drivers/input/keyboardDmitry Torokhov2005-05-291-1/+1
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+190
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!