]> git.baikalelectronics.ru Git - kernel.git/commit
w1: add list masters w1 command
authorEvgeniy Polyakov <zbr@ioremap.net>
Thu, 8 Jan 2009 02:08:59 +0000 (18:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:31:13 +0000 (08:31 -0800)
commitd1b01fb75cdb9268104116ba1c9b4492ef7c5c9b
treed847963358b5bc568e265b3807ef4b3de13ca7ef
parent471a7364008fda8b43d5a8a2e795cf165d80b7aa
w1: add list masters w1 command

This patch series introduces and extends several userspace commands
used with netlink protocol.

Touch block command allows to write data and return sampled data to
the userspace.

Extended search and alarm seach commands to return list of slave
devices found during given search.

List masters command allows to send all registered master IDs to the
userspace.

Great thanks to Paul Alfille (owfs) who
tested this implementation and wrote w1-to-network daemon
http://sourceforge.net/projects/w1repeater/ and

Frederik Deweerdt and Randy Dunlap for review.

This patch:

Returns list of registered bus master devices.

Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Paul Alfille <paul.alfille@gmail.com>
Cc: Frederik Deweerdt <frederik.deweerdt@xprog.eu>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/w1/w1_netlink.c
drivers/w1/w1_netlink.h