From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: [PATCH 0/19] New set of input patches
Date: Mon, 28 Jun 2004 00:08:21 -0500 [thread overview]
Message-ID: <200406280008.21465.dtor_core@ameritech.net> (raw)
Hi,
Here is the 2nd version of my set of input patches that mostly do serio sysfs
integration. Among the changes - dropped psmouse KVM resync patch as it was
bogus, added platform devices to those of serio providers that don't have
proper parent device (i8042, q40kbd, etc).
01-psmouse-state-locking.patch
- Acquire underlying serio lock when changing psmouse state to
prevent interrupt handler running on us
02-serio-connect-mandatory.patch
- Make serio driviers connect/disconnect methods mandatory as these
methods open/close serio ports and link ports and drivers together.
Presently if a driver does not implement connect method it will not
be able to bind to a port anyway.
03-serio-rename-1.patch
- Rename serio->driver to serio->port_data as with sysfs integration
driver is not the best name for arbitrary data
04-serio-rename-2.patch
- Rename serio_dev to serio_driver as they are drivers in sysfs sense
05-serio-dynamic-alloc.patch
- Switch from static to dynamic serio port allocation so serio ports
drivers can be freely unloaded even if not all references to ports
are dropped (sysfs req.)
06-serio-no-recursion.patch
- Do not do recursive discovery of children ports, needed for sysfs
and generally better for stack usage.
07-serio-sysfs.patch
- sysfs integration. Register ports and drivers in driver model, link
them all together under /sys/bus/serio. Every driver has a default
attribute "descrip[tion" (from serio_driver->description); serio
ports have "decription", "driver" and "legacy_position".
Legacy_position porvides access to serio->phys to allow matching
with data in /proc/bus/input/devices
08-serio-rebind.patch
- allow user to disconnect or rebind serio port by writing appropriate
data to it's sysfs attribute:
echo -n "psmouse" > /sys/bus/serio/devices/serio0/driver
echo -n "none" > /sys/bus/serio/devices/serio0/driver
echo -n "reconnect" > /sys/bus/serio/devices/serio0/driver
echo -n "rescan" > /sys/bus/serio/devices/serio0/driver
09-serio-manual-bind.patch
- allow marking some drivers as requiring manual bind (to be used when
driver does not do automatic HW discovery)
10-serio_raw.patch
- raw access to serio data ala 2.4 /dev/psaux
(*) 11-platform-device-simple.patch
- Add platform_device_register_simple to register platform devices
requiring minimal resource and memory management. The release
function resides in driver core and that allows drivers registering
such devices be unloaded without waiting for the last reference to
be dropped.
12-i8042-to-platform-device.patch
- Convert i8042 to platform device instead of system device so
its ports have proper parent.
13-serio-add-platform-devices.patch
- Add platform devices to ct82c710, maceps2, q40kbd and rpckbd.
14-serio-set-up-parents.patch
- Set up parent devices for serio ports in ambakmi, gscps2,
pcips2 and sa1111ps2.c
15-synaptics-passthrough-handling.patch
- If data looks like a pass-through packet and tuchpad has
pass-through capability do not pass it to the main handler
if child port is disconnected.
(*) 16-bus-default-drv-attrs.patch
- Add bus' default driver attributes (similar to defaulr device
attributes)
17-serio-use-bus-default-attrs.patch
- Use bus' default driver and device attributes to manage serio
attributes
(*) 18-add-driver-find.patch
- Add driver_find function, similar to device_find, to search for a
driver by its name.
19-serio-use-driver-find.patch
- Use driver_find in serio_rebind_driver instead of implementing it
locally.
(*) These patches have also been sent to Greg KH.
This time I tried compiling the stuff using defconfing for SPACR64 and PPC64
(thanks to Andrew for pointing to me availability of cross-compile
tools), so I should be a bit better now... Alpha failed on cpumask.h...
The patches are against today's Linus tree + recent pull form Vojtech's tree
+ recent pull from Greg KH's tree. I have patches against 2.6.7 that will
bring it to my version of the tree at:
http://www.geocities.com/dt_or/input/2_6_7/
--
Dmitry
next reply other threads:[~2004-06-28 5:09 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-28 5:08 Dmitry Torokhov [this message]
2004-06-28 5:09 ` [PATCH 1/19] psmouse state locking Dmitry Torokhov
2004-06-28 5:10 ` [PATCH 2/19] serio connect/disconnect mandatory Dmitry Torokhov
2004-06-28 5:11 ` [PATCH 3/19] serio renames 1 Dmitry Torokhov
2004-06-28 5:12 ` [PATCH 4/19] serio renames 2 Dmitry Torokhov
2004-06-28 5:13 ` [PATCH 5/19] serio dynamic allocation Dmitry Torokhov
2004-06-28 5:14 ` [PATCH 6/19] serio avoid recursion Dmitry Torokhov
2004-06-28 5:15 ` [PATCH 7/19] serio sysfs intergration Dmitry Torokhov
2004-06-28 5:16 ` [PATCH 8/19] serio rebind Dmitry Torokhov
2004-06-28 5:17 ` PATCH 9/19] serio manual bind Dmitry Torokhov
2004-06-28 5:17 ` [PATCH 10/19] serio_raw driver Dmitry Torokhov
2004-06-28 5:19 ` [PATCH 11/19] add platform_device_register_simple Dmitry Torokhov
2004-06-28 5:19 ` [PATCH 12/19] convert i8042 into a platform device Dmitry Torokhov
2004-06-28 5:21 ` [PATCH 13/19] more platform device conversions Dmitry Torokhov
2004-06-28 5:22 ` [PATCH 14/19] bind serio ports and their parents Dmitry Torokhov
2004-06-28 5:23 ` [PATCH 15/19] synaptics passthrough handling Dmitry Torokhov
2004-06-28 5:24 ` [PATCH 16/19] add bus' default driver attributes Dmitry Torokhov
2004-06-28 5:25 ` [PATCH 17/19] serio use bus' default driver/device attributes Dmitry Torokhov
2004-06-28 5:26 ` [PATCH 18/19] add driver_find Dmitry Torokhov
2004-06-28 5:27 ` [PATCH 19/19] serio use driver_find Dmitry Torokhov
2004-06-28 6:52 ` [PATCH 0/19] New set of input patches Vojtech Pavlik
2004-06-28 7:13 ` Dmitry Torokhov
2004-06-28 7:51 ` Vojtech Pavlik
2004-06-28 10:32 ` Neil Brown
2004-06-28 12:13 ` Vojtech Pavlik
-- strict thread matches above, loose matches on Subject: below --
2004-06-28 10:05 Sau Dan Lee
2004-06-28 14:54 Dmitry Torokhov
2004-06-28 15:07 ` Vojtech Pavlik
2004-06-29 7:01 ` Dmitry Torokhov
2004-06-29 7:25 ` Vojtech Pavlik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200406280008.21465.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox