summaryrefslogtreecommitdiff
path: root/include/linux/serio.h
AgeCommit message (Collapse)Author
2005-02-08input: Move #include <linux/interrupt.h> inside #ifdef __KERNEL__Vojtech Pavlik
in serio.h, to make it userspace-compilable. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-05Input: make serio drivers register asynchronously. This shouldDmitry Torokhov
speed up boot process as some drivers take a long time probing for supported devices. Also change __inline__ to inline in serio.h Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-04Input: make serio's connect routines return error codeDmitry Torokhov
instead of void. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-04Input: make serio implementation more in line with standardDmitry Torokhov
driver model implementations. serio_register_port is always asynchronous to allow freely registering child ports. When deregistering serio core still takes care of destroying children ports first. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-04Input: replace serio's type field with serio_id structure andDmitry Torokhov
add id_table to serio drivers to split initial matching and probing routines for better sysfs integration and to assist hotplug scripts in loading proper drivers. Add serio_hotplug to notify userspace about new ports. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-04Input: remove serio->private in favor of using driver-specific dataDmitry Torokhov
in device structure, add serio_get_drvdata/serio_put_drvdata to access it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-04Input: add serio->start() and serio->stop() callback methods thatDmitry Torokhov
are called whenever serio port is finishes being registered or unregistered. The callbacks are useful for drivers that share interrupt between several ports and there is a danger that interrupt handler will reference port that was just unregistered. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2004-09-21Input: add serio_[un]pin_driver() functions so attribute handlersDmitry Torokhov
can safely access driver bound to a serio port. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-07-19Input: allow marking serio ports (in addition to serio drivers)Dmitry Torokhov
as manual bind only, export the flag through sysfs echo -n "manual" > /sys/bus/serio/devices/serio0/bind_mode echo -n "auto" > /sys/bus/serio/drivers/serio_raw/bind_mode Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-07-19Input: add serio_pause_rx and serio_continue_rx so drivers can protectDmitry Torokhov
their critical sections from port's interrupt handler Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-06-28Input: allow marking some drivers (that don't do HW autodetection)Dmitry Torokhov
as manual bind only. Such drivers will only be bound to a serio port if user requests it by echoing driver name into port's sysfs driver attribute. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-06-28Input: serio sysfs integrationDmitry Torokhov
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-06-28Input: allow serio drivers to create children ports and register theseDmitry Torokhov
ports for them in serio core to avoid having recursion in connect methods. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-06-28Input: switch to dynamic (heap) serio port allocation in preparationDmitry Torokhov
to sysfs integration. By having all data structures dynamically allocated serio driver modules can be unloaded without waiting for the last reference to the port to be dropped. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-06-28Input: more renames in serio in preparations to sysfs integrationDmitry Torokhov
- serio_dev -> serio_driver - serio_[un]register_device -> serio_[un]register_driver Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-06-28Input: rename serio->driver to serio->port_data in preparationDmitry Torokhov
to sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2004-06-24Merge suse.cz:/data/bk/linus into suse.cz:/data/bk/inputVojtech Pavlik
2004-06-17[PATCH] more PC9800 removalAdrian Bunk
Removes more PC9800 code. Requires: bk rm drivers/char/upd4990a.c bk rm drivers/net/ne2k_cbus.c bk rm drivers/net/ne2k_cbus.h Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-06-02input: Fixes in serio locking. We need per-serio lock for passthroughVojtech Pavlik
ports, some locks were missing, and spin_lock_irq was wishful thinking in serio_interrupt. There is no guarantee that serio_interrupt won't be called twice at the same time. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2004-05-28input: An attempt at fixing locking in i8042.c and serio.cVojtech Pavlik
2004-03-02input: Add serio entries for LK keyboards.Jan-Benedict Glaw
2003-12-18[PATCH] Input: add serio_[un]register_port_delayed to fix deadlockDmitry Torokhov
Add serio_[un]register_port_delayed to allow delayed execution of register/unregister code (via kseriod) when it is not clear whether serio_sem has been taken or not. Use in i8042.c to avoid deadlock
2003-12-18[PATCH] serio: reconnect facilityDmitry Torokhov
Input: serio_reconnect added. Similar to serio_rescan but gives driver a chance to re-initialize keeping the same input device.
2003-12-18[PATCH] serio: rename serio_[un]register_slave_port to ↵Dmitry Torokhov
__serio_[un]register_port Input: rename serio_{register|unregister}_slave_port to __serio_{register|unregister}_port to better follow locked/lockless naming convention
2003-10-04[PATCH] Small cleanups for inputRusty Russell
From: Pavel Machek <pavel@suse.cz>
2003-09-26input: Change AT keyboard to use hardware autorepeat and moveVojtech Pavlik
untranslating to the AT keyboard driver as well. Lower PS/2 mouse default report rate. Fix repeat rate adjustment ioctls accordingly, and update other files to reflect the changes. This should fix most known keyboard problems in 2.6.
2003-09-18Input: Big Synaptics update:Peter Osterlund
Restore synaptics pad mode on module unload. Support Synaptics touchpads with multiple buttons. Make Synaptics touchpad support optional. Add passthrough support for Synaptics touchpads. [Dmitry] Add support for old Synaptics protocol. Set mode byte correctly for old Synaptics pads. Fix multibutton support of Synaptics pads.
2003-06-20input: remove unused var from serio structDave Jones
2003-04-20[PATCH] irqs: input driversAndrew Morton
Update the input and joystick drivers to the new IRQ API.
2003-02-12input: Add two new serio type #definesVojtech Pavlik
2003-02-12input: Get rid of the kbd_pt_regs variable, and instead pass theVojtech Pavlik
value all the way from an interrupt handler to keyboard.c that can display it.
2002-11-25[PATCH] reserve a serio bit for PC98Alan Cox
2002-09-25Convert serio.[ch] to use list.h lists.Vojtech Pavlik
2002-09-24Add support for PS/2 Active Multiplexing Spec, updates for PS/2 mouseVojtech Pavlik
and keyboard handling - proper cleanup on reboot, allow USB-emulated AT keyboards, option to restrict PS/2 mouse to generic mode.
2002-07-25The following patch adds the "resend" capability to the keyboard driver;Vojtech Pavlik
when the host driver detects a parity or framing error, we can ask the keyboard to resend the data, instead of treating random garbage as valid data. We also export serio_interrupt() - serio modules are using it, yet you can't use them as modules without this symbol exported. -- Russell King
2002-07-11This cset implements automatic detection of PS/2 mice and AT keyboardsVojtech Pavlik
even when they were not connected at boot time. This is done by polling the i8042 chip when its interrupts are not enabled.
2002-07-11Add a wrapper function for serio ->interrupt callback.Vojtech Pavlik
This cleans up things somewhat and also will allow better hotplugging detection in the future.
2002-07-08Move delayed rescanning of the ports to serio.c, add a kernel threadVojtech Pavlik
for that, so that hotplug events happen in process context.
2002-02-06[PATCH] Input drivers, step #3Vojtech Pavlik
This patch updates the input core to the current version, fixing a bunch of bugs, adding hotplug support and a listing of available input devices in /proc. The later is very useful for troubleshooting. Vojtech Pavlik SuSE Labs
2002-02-04v2.4.8 -> v2.4.8.1Linus Torvalds
- Rui Sousa: emu10k1 module fixes, remove joystick part. - Alan Cox: driver merges - Andrea Arkangeli: alpha updates - David Woodhouse: up_and_exit -> complete_and_exit - David Miller: sparc and network update - Andrew Morton: update 3c59x driver - Neil Brown: NFS export VFAT, knfsd cleanups, raid fixes - Ben Collins: ieee1394 updates - Paul Mackerras: PPC update - me: make sure we don't lose position bits in "filldir()"
2002-02-04v2.4.3.2 -> v2.4.3.3Linus Torvalds
- Hui-Fen Hsu: sis900 driver update - NIIBE Yutaka: Super-H update - Alan Cox: more resyncs (ARM down, but more to go) - David Miller: network zerocopy, Sparc sync, qlogic,FC fix, etc. - David Miller/me: get rid of various drivers hacks to do mmap alignment behind the back of the VM layer. Create a real protocol for it.
2002-02-04Import changesetLinus Torvalds