helpers.
The changes can also be pulled from my tree (which has Vojtech's
input tree as a parent):
bk pull bk://dtor.bkbits.net/input
I am CC-ing ALSA list as the changes touch quite a few sound drivers.
Comments/testing is appreciated.
--
Dmitry
-
To unsubscribe from this list: send
- gameport_[un]register_driver
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
drivers/input/gameport/gameport.c | 52 ++--
drivers/input/joystick/a3d.c| 10 +++---
drivers/input/joystick/adi.c| 10 +++---
drivers/input/joystick/analog.c
bind driver to a port.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
gameport.c |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
===
diff -Nru a/drivers/input/gameport/gameport.c
b/drivers/input
===
[EMAIL PROTECTED], 2005-02-11 01:19:36-05:00, [EMAIL PROTECTED]
Input: convert input/gameport to dynamic gameport allocation.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
drivers/input/gameport/cs461x.c | 29
and phys;
- dynamically allocated gameports are automatically
announced in kernel logs and freed when unregistered.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
drivers/input/gameport/gameport.c | 24
include/linux/gameport.h | 38
===
[EMAIL PROTECTED], 2005-02-11 01:20:08-05:00, [EMAIL PROTECTED]
Input: convert sound/oss to dynamic gameport allocation.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
cmpci.c | 100
===
[EMAIL PROTECTED], 2005-02-11 01:20:30-05:00, [EMAIL PROTECTED]
Input: convert sound/pci to dynamic gameport allocation.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
include/sound/cs46xx.h |4
of void.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
drivers/Makefile|2
drivers/input/gameport/gameport.c | 39 ++
drivers/input/joystick/a3d.c| 44 ++---
drivers/input/joystick/adi.c| 63
===
[EMAIL PROTECTED], 2005-02-11 01:21:32-05:00, [EMAIL PROTECTED]
Input: complete gameport sysfs integration, ports are now
devices in driver model. Implemented similarly to serio.
Signed-off-by: Dmitry Torokhov
-by: Dmitry Torokhov [EMAIL PROTECTED]
drivers/input/joystick/a3d.c| 10 ++
drivers/input/joystick/adi.c|7 ---
drivers/input/joystick/analog.c |7 +--
drivers/input/joystick/cobra.c | 10 ++
drivers/input/joystick/gf2k.c | 10
changes to compile with the latest version of serio.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Saturday 12 February 2005 12:50, Roey Katz wrote:
Hello again Dmitry,
is there anything new about this issue? any fixes in the kernel?
If you want, I can continue doing the test/debug cycle as before.
Hi Roey,
I have been looking over your logs one more time and it looks like
On Sunday 13 February 2005 14:13, Stephen Evanchik wrote:
On Thu, 3 Feb 2005 22:52:44 -0500, Dmitry Torokhov
[EMAIL PROTECTED] wrote:
OK, I have read the code once again, and saw that you have special
handling within PS/2 protocol based on model constant. Please set
psmouse type
ps2_command calls in trackpoint_init and leave
the rest as is.
One more thing - I'd like to see more descriptive names of sysfs
attributes, for example I'd change ptson to press_to_select,
mb to middle_btn, etc.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel
On Monday 14 February 2005 11:32, Prarit Bhargava wrote:
I didn't see a final ACK on this patch -- just checking for one :)
P.
I see that resource allocation part is in Vojtech's tree now but the
part changing timeout message was dropped.
--
Dmitry
-
To unsubscribe from this list: send
and thus may leave timer scheduled. Timer routine also checks the counter
and does not restart it if there are no users.
Please let me know what you think.
--
Dmitry
===
Input: fix race timer handling races in gameport-based
= 3;
+ }
+
+ return 0;
+}
The change to the psmouse interface I'm leaving to Dmitry to comment on.
I don't think that we need a separate initialize handler simply
because it is called just once, at initialization time. Here we know
exactly what device (protocol) we are dealing
On Tue, 15 Feb 2005 15:05:01 +0100, Vojtech Pavlik [EMAIL PROTECTED] wrote:
On Tue, Feb 15, 2005 at 12:42:31AM -0500, Dmitry Torokhov wrote:
Hi,
There seems to be a race WRT to timer handling in all gameport-based
joystick drivers. open() and close() methods are used to start and
stop
On Tue, 15 Feb 2005 18:03:28 +0100, Kenan Esau [EMAIL PROTECTED] wrote:
Am Dienstag, den 15.02.2005, 09:43 -0500 schrieb Dmitry Torokhov:
On Tue, 15 Feb 2005 14:43:08 +0100, Vojtech Pavlik [EMAIL PROTECTED]
wrote:
On Tue, Feb 15, 2005 at 09:57:59AM +0100, Kenan Esau wrote:
+static
, device);
- return 0;
-}
-
-static void class_device_dev_unlink(struct class_device * class_dev)
-{
- sysfs_remove_link(class_dev-kobj, device);
-}
-
Hi,
I can agree on dropping driver link but I think that the link to
underlying real device is still needed.
--
Dmitry
On Tuesday 15 February 2005 18:44, Greg KH wrote:
On Tue, Feb 15, 2005 at 05:25:54PM -0500, Dmitry Torokhov wrote:
On Tue, 15 Feb 2005 23:04:06 +0100, Kay Sievers [EMAIL PROTECTED] wrote:
-static int class_device_dev_link(struct class_device * class_dev)
-{
- if (class_dev
match WhitespaceEOL /\s\+$/
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Somehow missed sidewinder driver...
==
Input: fix timer handling race in sidewinder joystick driver by
switching to gameport's polling facilities.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
= drivers/input
to reboot into my devel. version. What I did not expect is for
the kernel to find a valid suspend image and restore it. As you might
imagine messed up my disk somewhat.
Any chance this can be done?
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
Hi Nigel,
On Thursday 17 February 2005 00:15, Nigel Cunningham wrote:
Hi Dmitry.
On Thu, 2005-02-17 at 15:46, Dmitry Torokhov wrote:
Pavel,
First of all I must say that swsusp has progressed alot and now works
very reliably, at least for my configuration, and I use it a lot. Great
to get your touchpad working (after you send me the
dmesg) add psmouse.proto=exps to your boot options (or add options
psmouse proto=exps if psmouse is compiled as a module).
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
be marked __init I don't understand the reasons gainst doing
it.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org
it compiled, you probably have wrong cmdline, too.
Ok, that makes sense. I guess I should just stop pulling vendor
kernels with the rest of updates since I am not using them anyway.
Sorry for the noise.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
.
There was some recent discussion of this on linux-input. It was basically
agreed that the input system should pass the request on to ACPI and/or apm
and Dmitry Torokhov (cc'd) proposed a patch that did this. His patch needed
to be slightly modified to work with arm apm, the final result
not be used as a
generic transport. I mean battery low, docking requests, etc has
nothing to do with input.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, 18 Feb 2005 19:39:36 +0100, Vojtech Pavlik [EMAIL PROTECTED] wrote:
On Fri, Feb 18, 2005 at 01:19:08PM -0500, Dmitry Torokhov wrote:
On Fri, 18 Feb 2005 18:00:36 +0100, Vojtech Pavlik [EMAIL PROTECTED]
wrote:
On Fri, Feb 18, 2005 at 05:01:53PM +0100, Pavel Machek wrote
friends in the
community.
What is bk2cvs gateway that is maintained by Larry then? Just call it
your head that Linus feeds from his BK repository and you are all
set.
I can see that Roman and Stellian want something different, but we
alerady have what you have just described.
--
Dmitry
On Fri, 18 Feb 2005 14:31:20 -0500 (EST), Sean [EMAIL PROTECTED] wrote:
On Fri, February 18, 2005 2:26 pm, Dmitry Torokhov said:
What is bk2cvs gateway that is maintained by Larry then? Just call it
your head that Linus feeds from his BK repository and you are all
set.
I can see
tends to do it against maintainer's tree thus making patches suitable
for -mm as well.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ
think we need a generic way of delivering system status changes to
userspace. Something like acpid but bigger than that, something not
so heavily oriented on ACPI. I wonder if that kernel connector patch
should be looked at.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux
Hi Nigel,
On Saturday 19 February 2005 01:28, Nigel Cunningham wrote:
Hi.
On Sat, 2005-02-19 at 13:58, Dmitry Torokhov wrote:
On Friday 18 February 2005 18:31, Pavel Machek wrote:
I believe power and suspend keys should definitely go through
input. I'm not that sure about battery
On 7/13/05, Geert Uytterhoeven [EMAIL PROTECTED] wrote:
On Mon, 27 Jun 2005, Linux Kernel Mailing List wrote:
tree 11d80109ddc2f61de6a75a37941346100a67a0d1
parent af246041277674854383cf91b8f0b01217b521e8
author Dmitry Torokhov [EMAIL PROTECTED] Sun, 29 May 2005 12:29:52 -0500
committer
On 7/13/05, Linus Torvalds [EMAIL PROTECTED] wrote:
Dmitry Torokhov:
[ACPI] Enable EC Burst Mode
Ugh, this one is not really mine. Luming did all the work.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
is not.
How about 500? This might be good enough to solve the MIDI problem.
I would expect number of laptop users significatly outnumber ones
driving MIDI so as a default entry 250 makes more sense IMHO.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel
of the expected values. If
I just ignore this and continue, the synaptics pad is detected and
everything works ok.
Hi,
Could you please provide us with debug dmesg - just boot with
i8042.debug on kernel command line.
Thanks!
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe
suspending and the post your dmesg, please? Maybe we see something
there.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
[Suspend2 was removed from CC as it appears to be subscribers-only list.]
On Friday 15 July 2005 06:43, Andrew Haninger wrote:
On 7/15/05, Dmitry Torokhov [EMAIL PROTECTED] wrote:
Could you try doing:
echo 1 /sys/modules/i8042/parameters/debug
before suspending and the post
the breakage yourself? It might be interesting to
see the log with i8042 debugging turned on.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
below will do) this configuration even has a chance of working.
I don't think it can support more than 4 byte packets. bytes 0 and 3
are protocol markers and can't be readily used for transmitting other
protocols data.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux
{
+ ucb1x00_free_irq(ts-ucb, UCB_IRQ_TSPX, ts);
+ }
kthread_run(ucb1x00_thread, ts, ktsd)...
+
+MODULE_PARM(adcsync, i);
+MODULE_PARM_DESC(adcsync, Enable use of ADCSYNC signal);
Die, MODULE_PARM, die!
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe
kseriod and kgameportd threads can be left freezable.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Friday 22 July 2005 17:33, Dave Airlie wrote:
Without this patch my laptop fails to resume from suspend to RAM...
It applies against a pretty recent 2.6.13-rc3 from git..
Hi,
Is it necessary to do free_irq for suspend? Shouldn't disable_irq
be enough?
--
Dmitry
-
To unsubscribe from
)
+{
+ struct ucb1x00_ts *ts = (struct ucb1x00_ts *)idev;
+
+ if (ts-rtask) {
+ send_sig(SIGKILL, ts-rtask, 1);
+ wait_for_completion(ts-init_exit);
kthread_stop().
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
take care of this problem I think.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Input: serio - add modalias attribute and environment variable to
simplify hotplug scripts.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/serio/serio.c | 42 ++
1 files changed, 26 insertions(+), 16 deletions(-)
Index: work
Input: uinput - use completions instead of events and manual
wakeups in force feedback code.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/misc/uinput.c | 81 +++-
include/linux/uinput.h |5 +-
2 files changed, 45
From: David Moore [EMAIL PROTECTED]
Input: ALPS - fix resume (for DualPoints)
The driver would not reset pass-through mode when performing
resume of a DualPoint touchpad causing it to stop working
until next reboot.
Signed-off-by: Vojtech Pavlik [EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov
Input: introduce usb_to_input_id() to uniformly produce
struct input_id for USB input devices.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/usb/input/acecad.c |6 ++
drivers/usb/input/aiptek.c |6 ++
drivers/usb/input/ati_remote.c |8
Input: make name, phys and uniq be 'const char *' because once
set noone should attempt to change them.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/char/sonypi.c | 24 ++--
drivers/input/misc/uinput.c | 23 ---
include
PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/mouse/alps.c | 25 +++--
1 files changed, 7 insertions(+), 18 deletions(-)
Index: work/drivers/input/mouse/alps.c
===
--- work.orig
Input: i8042 - add Alienware Sentia to NOMUX blacklist.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/serio/i8042-x86ia64io.h |7 +++
1 files changed, 7 insertions(+)
Index: work/drivers/input/serio/i8042-x86ia64io.h
reported to hiddev as interrupt events.
Signed-off-by: Adam Kropelin [EMAIL PROTECTED]
Signed-off-by: Vojtech Pavlik [EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/usb/input/hid-core.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions
From: Vojtech Pavlik [EMAIL PROTECTED]
Input: i8042 - add Fujitsu T3010 to NOMUX blacklist.
Signed-off-by: Vojtech Pavlik [EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/serio/i8042-x86ia64io.h |7 +++
1 files changed, 7 insertions(+)
Index: work
From: Luca T. [EMAIL PROTECTED]
Input: HID - add a quirk for Aashima Trust (06d6:0025) gamepad
Signed-off-by: Vojtech Pavlik [EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/usb/input/hid-core.c |4
1 files changed, 4 insertions(+)
Index: work/drivers
Sonypi: make sure that input_work is not running when unloading
the module; submit/retrieve key release data into/from
input_fifo in one shot.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/char/sonypi.c | 122 +-
1
PROTECTED]
Signed-off-by: Vojtech Pavlik [EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/mouse/synaptics.c | 10 +-
1 files changed, 9 insertions(+), 1 deletion(-)
Index: work/drivers/input/mouse/synaptics.c
Input: clean up uinput driver (formatting, extra braces)
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/misc/uinput.c | 81 +++-
1 files changed, 35 insertions(+), 46 deletions(-)
Index: work/drivers/input/misc/uinput.c
[EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/mouse/logips2pp.c|2 --
drivers/input/mouse/psmouse-base.c |2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
Index: work/drivers/input/mouse/logips2pp.c
.
Based on patch by Vojtech Pavlik.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/serio/i8042.c | 62 +++-
1 files changed, 33 insertions(+), 29 deletions(-)
Index: work/drivers/input/serio/i8042.c
Input: rearrange procfs code to reduce number of #ifdefs
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/input.c | 389 +-
1 files changed, 198 insertions(+), 191 deletions(-)
Index: work/drivers/input/input.c
-by: Vojtech Pavlik [EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/joydev.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
Index: work/drivers/input/joydev.c
===
--- work.orig
for serio bus, couple of input cleanups).
The full changelog is at the end of the mail.
Could you please bless these for Linus to pull:
git pull rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
Thanks!
--
Dmitry
Changelog:
==
author Sergey Vlasov [EMAIL PROTECTED] Sun, 24
instead.
Signed-off-by: Sergey Vlasov [EMAIL PROTECTED]
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/input/mouse/synaptics.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: work/drivers/input/mouse/synaptics.c
On 7/25/05, Jon Smirl [EMAIL PROTECTED] wrote:
On 7/25/05, Dmitry Torokhov [EMAIL PROTECTED] wrote:
On Sunday 24 July 2005 23:09, Jon Smirl wrote:
I just pulled from GIT to test bind/unbind. I couldn't get it to work;
it isn't taking into account the CR on the end of the input value
+* this doesn't seem to be necessary.
+*/
+ tsk-policy = SCHED_FIFO;
+ tsk-rt_priority = 1;
+
+ valid = 0;
+ for (;;) {
Can we change this to while (!kthread_should_stop()) to make me
completely happy?
Thanks!
--
Dmitry
-
To unsubscribe from this list: send
On 7/25/05, Russell King [EMAIL PROTECTED] wrote:
On Mon, Jul 25, 2005 at 10:16:05AM -0500, Dmitry Torokhov wrote:
If the problem is that you have a single piece of hardware you need to
bind several drivers to - I guess you will have to create a new
sub-device bus for that. Or just register
On 7/25/05, Russell King [EMAIL PROTECTED] wrote:
On Mon, Jul 25, 2005 at 11:02:43AM -0500, Dmitry Torokhov wrote:
On 7/25/05, Russell King [EMAIL PROTECTED] wrote:
On Mon, Jul 25, 2005 at 10:16:05AM -0500, Dmitry Torokhov wrote:
If the problem is that you have a single piece of hardware
is on faster part of the
drive.
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
) (y - buffer-page count)) {
+ y++;
Can we have consistent space vs. paren placement, pretty please?
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org
On 7/28/05, Michael S. Tsirkin [EMAIL PROTECTED] wrote:
9. The following is helpful with VIM
set cinoptions=(0:0
And this will highlight whitespace damage:
highlight RedundantSpaces ctermbg=red guibg=red
match RedundantSpaces /\s\+$\| \+\ze\t/
--
Dmitry
-
To unsubscribe from
just tried 2.6.5 and 2.6.4. No go. Only 3 kernels left.
Are you testing with sidewinder?
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
On Wednesday 20 April 2005 21:21, Patrick McFarland wrote:
On Wednesday 20 April 2005 10:12 pm, Dmitry Torokhov wrote:
On Wednesday 20 April 2005 20:42, Patrick McFarland wrote:
On Wednesday 20 April 2005 12:47 am, Patrick McFarland wrote:
I just tested 2.6.6, it seems to be broken too
changing w1 module parameters through sysfs, add parameter
descriptions and document them in Documentation/kernel-parameters.txt
Thanks!
--
Dmitry
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
W1: whitespace fixes.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
Kconfig| 14 +++---
Makefile |2
ds_w1_bridge.c | 24 +-
dscore.c | 126 -
dscore.h |6 +-
matrox_w1.c| 10
w1: some formatting changes to bring the code in line with
CodingStyle guidelines.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
dscore.c |4 +---
w1.c | 21 +
2 files changed, 10 insertions(+), 15 deletions(-)
Index: dtor/drivers/w1/w1.c
W1: use attribute_group to create master device attributes to
guarantee proper cleanup in case of failure. Also, hide
most of attribute define ugliness in macros.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 157
W1: add 2 default attributes family and serial to slave
devices, every 1-Wire slave has them. Use attribute_group
to handle. The rest of slave attributes are left as is -
will be dealt with later.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 115
W1: drop owner field from w1_master and w1_slave structures.
Just having it there does not magically fixes lifetime
rules.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c |1 -
w1.h |2 --
w1_int.c |1 -
3 files changed, 4 deletions(-)
Index: dtor/drivers
W1: list handling cleanup. Most of the list_for_each_safe users
don't need *_safe variant, *_entry variant is better suited
in most places. Also, checking retrieved list element for
null is a bit pointless...
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 131
with
w1_master;
- separate master registering and allocation so drivers can set
up proper link between private data and master and set useable
master's name.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
ds_w1_bridge.c | 87
W1: fold w1_int.c into w1.c - there is no point in artificially
separating code for master devices between 2 files.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/w1/w1_int.c| 181 -
drivers/w1/w1_int.h| 36
-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 157 +++
w1.h |1
2 files changed, 36 insertions(+), 122 deletions(-)
Index: dtor/drivers/w1/w1.c
===
--- dtor.orig
W1: drop custom-made hotplug over netlink notification
from w1 core. Standard hotplug mechanism should work
just fine (patch will follow).
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/w1/w1_netlink.c | 66 ---
drivers/w1
W1: move w1_search function to w1_io.c to be with the rest of IO code.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c| 87 --
w1.h|1
w1_io.c | 89
W1: clean-up master attribute implementation:
- drop unnecessary w1_master prefix from attribute names;
- do not acquire master-mutex when accessing attributes;
- move attribute code closer to the rest of master code.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 111
W1: clean-up master device implementation:
- get rid of separate refcount, rely on driver model to
enforce lifetime rules;
- use atomic to generate unique master IDs;
- drop unused fields.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 263
W1: add slave_ttl attribute to w1 masters.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 24
1 files changed, 24 insertions(+)
Index: dtor/drivers/w1/w1.c
===
--- dtor.orig/drivers/w1/w1.c
.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c| 165
w1.h|3 -
w1_family.c |2
w1_family.h |2
w1_smem.c | 18 --
w1_therm.c | 20 ---
6 files changed, 71 insertions(+), 139
.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c| 108
w1.h|3 -
w1_io.c |1
3 files changed, 16 insertions(+), 96 deletions(-)
Index: dtor/drivers/w1/w1.c
.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 60 +---
w1.h |1 +
2 files changed, 50 insertions(+), 11 deletions(-)
Index: dtor/drivers/w1/w1.c
w1_therm to w1_thermal.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/w1/w1_smem.c | 103 ---
drivers/w1/w1_therm.c| 188 ---
dtor/drivers/w1/Kconfig | 13 +-
dtor/drivers/w1/Makefile |4
Ahem.. Kmail just refuses send this on inline... Sorry.
--
Dmitry
W1: implement W1 bus hotplug handler. Slave devices will define
FID (family ID) end SN (serial number) environment variables.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
w1.c | 51
W1: allow changing w1 module parameters through sysfs, add parameter
descriptions and document them in Documentation/kernel-parameters.txt
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
Documentation/kernel-parameters.txt | 19 ---
drivers/w1/w1.c
W1: support for automatic family drivers loading via hotplug:
- allow family drivers support list of families;
- export supported families through MODULE_DEVICE_TABLE.
Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED]
---
drivers/w1/w1.c |6 --
drivers/w1/w1.h
Hi Evgeniy,
On 4/21/05, Evgeniy Polyakov [EMAIL PROTECTED] wrote:
On Thu, 2005-04-21 at 02:07 -0500, Dmitry Torokhov wrote:
Hi,
Hello, Dmitry.
I happened to take a look into drivers/w1 and found there bunch of thigs
that IMO should be changed:
- custom-made refcounting is racy
601 - 700 of 27825 matches
Mail list logo