summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
Commit message (Collapse)AuthorAgeFilesLines
* Input: i8042 - use kzalloc instead of kcallocDmitry Torokhov2005-09-101-3/+3
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Manual merge with LinusDmitry Torokhov2005-09-091-2/+2
|\
| * [PATCH] input: convert kcalloc to kzallocPekka Enberg2005-09-071-2/+2
| | | | | | | | | | | | | | | | | | This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Input: i8042 - add Lifebook E4010 to MUX blacklistDmitry Torokhov2005-09-041-0/+7
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: i8042 - add i8042.nokbd module option to allow supressingDmitry Torokhov2005-09-042-5/+21
| | | | | | | | | | | | creation of keyboard port. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: i8042 - fix IRQ printing when either KBD or AUX portDmitry Torokhov2005-09-041-14/+25
| | | | | | | | | | | | is absent from ACPI/PNP tables. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: make i8042_platform_init return 'real' error codeDmitry Torokhov2005-09-046-23/+26
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: i8042 - clean up initialization code; abort if weDmitry Torokhov2005-09-041-78/+100
|/ | | | | | can't create all ports. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - don't use negation to mark AUX dataDmitry Torokhov2005-07-151-28/+32
| | | | | | | | | | | Currently i8042_command() negates data coming from the AUX port of keyboard controller; this is not a very reliable indicator. Change i8042_command() to fail if response to I8042_CMD_AUX_LOOP is not coming from AUX channel and get rid of negation. Based on patch by Vojtech Pavlik. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add Fujitsu T3010 to NOMUX blacklist.Vojtech Pavlik2005-07-111-0/+7
| | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add Alienware Sentia to NOMUX blacklist.Dmitry Torokhov2005-07-111-0/+7
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: serio_raw - fix Kconfig helpNeil Brown2005-07-111-1/+1
| | | | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: serio_raw - link serio_raw misc device to correspondingDmitry Torokhov2005-07-111-0/+1
| | | | | | serio port in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: serio - add modalias attribute and environment variable toDmitry Torokhov2005-06-301-16/+26
| | | | | | simplify hotplug scripts. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Commit the manual part of the input layer merge.Linus Torvalds2005-06-271-27/+62
| | | | | | | git did actually warn me about the fact that I hadn't actually done an "update-cache" on these two files, but the warning was at the bottom of a list of all the files that _did_ change in the merge, so I never noticed. My bad.
* Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input.git manuallyLinus Torvalds2005-06-271-36/+100
|\ | | | | | | Some manual fixups required due to clashes with the PF_FREEZE cleanups.
| * Input: psmouse - export protocol as a sysfs per-device attributeDmitry Torokhov2005-06-011-2/+16
| | | | | | | | | | | | to allow easy switching at run-time. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: cleanup ps2_command() timeout handling in libps2.Dmitry Torokhov2005-06-011-28/+62
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: add ps2_drain() to libps2 to allow reading and discardingDmitry Torokhov2005-06-011-8/+38
| | | | | | | | | | | | | | | | given number of bytes from device. Change ps2_command to allow using 0 as command ID and actually pass it to the device instead of working as a drain. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: pmouse - introduce proper locking so state-changingDmitry Torokhov2005-06-011-8/+36
| | | | | | | | | | | | | | | | | | operations do not iterfere with each other. Also make sure that serio core takes serio->drv_sem not only for connect/disconnect but for reconnect too. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: switch serio core to using kthread API instead of usingDmitry Torokhov2005-06-011-17/+10
| | | | | | | | | | | | | | daemonize() and signals. This way kseriod will never be accidentially killed. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Merge Christoph's freeze cleanup patchLinus Torvalds2005-06-251-1/+1
|\ \
| * | [PATCH] Cleanup patch for process freezingChristoph Lameter2005-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Establish a simple API for process freezing defined in linux/include/sched.h: frozen(process) Check for frozen process freezing(process) Check if a process is being frozen freeze(process) Tell a process to freeze (go to refrigerator) thaw_process(process) Restart process frozen_process(process) Process is frozen now 2. Remove all references to PF_FREEZE and PF_FROZEN from all kernel sources except sched.h 3. Fix numerous locations where try_to_freeze is manually done by a driver 4. Remove the argument that is no longer necessary from two function calls. 5. Some whitespace cleanup 6. Clear potential race in refrigerator (provides an open window of PF_FREEZE cleared before setting PF_FROZEN, recalc_sigpending does not check PF_FROZEN). This patch does not address the problem of freeze_processes() violating the rule that a task may only modify its own flags by setting PF_FREEZE. This is not clean in an SMP environment. freeze(process) is therefore not SMP safe! Signed-off-by: Christoph Lameter <christoph@lameter.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] RCU: clean up a few remaining synchronize_kernel() callsPaul E. McKenney2005-06-251-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2.6.12-rc6-mm1 has a few remaining synchronize_kernel()s, some (but not all) in comments. This patch changes these synchronize_kernel() calls (and comments) to synchronize_rcu() or synchronize_sched() as follows: - arch/x86_64/kernel/mce.c mce_read(): change to synchronize_sched() to handle races with machine-check exceptions (synchronize_rcu() would not cut it given RCU implementations intended for hardcore realtime use. - drivers/input/serio/i8042.c i8042_stop(): change to synchronize_sched() to handle races with i8042_interrupt() interrupt handler. Again, synchronize_rcu() would not cut it given RCU implementations intended for hardcore realtime use. - include/*/kdebug.h comments: change to synchronize_sched() to handle races with NMIs. As before, synchronize_rcu() would not cut it... - include/linux/list.h comment: change to synchronize_rcu(), since this comment is for list_del_rcu(). - security/keys/key.c unregister_key_type(): change to synchronize_rcu(), since this is interacting with RCU read side. - security/keys/process_keys.c install_session_keyring(): change to synchronize_rcu(), since this is interacting with RCU read side. Signed-off-by: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] Convert users to tty_unregister_ldisc()Alexey Dobriyan2005-06-231-1/+1
| | | | | | | | | | | | | | | | tty_register_ldisc(N_FOO, NULL) => tty_unregister_ldisc(N_FOO) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - ↵Yani Ioannou2005-06-201-8/+8
|/ | | | | | | drivers/s390/block/dcssblk.c: update device attribute callbacks Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Input: yet another model that does not play nicely when i8042 isDmitry Torokhov2005-05-281-0/+7
| | | | | | put in MUX mode - Fujitsu Lifebook S6230 Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: automatically disable MUX mode on Toshiba Satellite P10Dmitry Torokhov2005-05-281-1/+10
| | | | | | | | | because it interferes with ALPS touchpad detection and causes horrible death on reboot. Since P10 does not have external PS/2 ports MUX mode does not have any advantages over legacy mode anyway. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: Avoid double unregistering of i8042 PnP driver. This can happenKurt Garloff2005-05-281-2/+6
| | | | | | | | when no i8042 controller (not PnP, not legacy) is present. From: Kurt Garloff <garloff@suse.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: Tone down the severity of a printk() in i386/ia64 arch codeDmitry Torokhov2005-05-281-1/+1
| | | | | | | | for i386, it's printed on many machines and usually is not a cause for worry. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
* Input: Only write the CTR in i8042 resume function. Reading it isVojtech Pavlik2005-05-281-20/+28
| | | | | | | wrong, since it may (will) contain nonsensical data. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: Remove (now) unused variable in i8042.cVojtech Pavlik2005-05-281-2/+0
| | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: Add a missing KERN_INFO message designation, fix behaviorVojtech Pavlik2005-05-281-2/+2
| | | | | | | when only a keyboard part of the controller is detected. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* [PATCH] serio 'id' attributesDmitry Torokhov2005-05-171-4/+20
| | | | | | | | | | | move serio port's id attributes into separate subdirectory: ..devices/serioX/id_type -> ..devices/serioX/id/type ..devices/serioX/id_proto -> ..devices/serioX/id/proto Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] serport oops fixDmitry Torokhov2005-05-171-30/+68
| | | | | | | | | | | serport - avoid calling serio_interrupt or serio_write_wakeup on unregistered port. Also fix memory leak which could happen if serport was left unused by moving serio allocation down to serport_ldisc_read. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] serio resume fixDmitry Torokhov2005-05-171-1/+0
| | | | | | | | | | | | serio - do not attempt to immediately disconnect port if resume failed, let kseriod take care of it. Otherwise we may attempt to unregister associated input devices which will generate hotplug events which are not handled well during swsusp. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-1626-0/+8661
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!
OpenPOWER on IntegriCloud