summaryrefslogtreecommitdiffstats
path: root/Documentation/w1
diff options
context:
space:
mode:
authorEvgeniy Polyakov <zbr@ioremap.net>2009-01-07 18:09:04 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-08 08:31:14 -0800
commitf89735c4e281e8642907b38640c076ae5048f3a6 (patch)
tree24539b43a7f74d083d747edf5b4eec8e533baebe /Documentation/w1
parent325a06fb13614fd4e5ea36996c0ce043752a93a0 (diff)
downloadlinux-stable-f89735c4e281e8642907b38640c076ae5048f3a6.tar.gz
linux-stable-f89735c4e281e8642907b38640c076ae5048f3a6.tar.bz2
linux-stable-f89735c4e281e8642907b38640c076ae5048f3a6.zip
w1: added w1 reset command
Command which allows to reset the bus. Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net> Cc: Paul Alfille <paul.alfille@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/w1')
-rw-r--r--Documentation/w1/w1.netlink6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/w1/w1.netlink b/Documentation/w1/w1.netlink
index d596d406e0a5..2756681b6ef5 100644
--- a/Documentation/w1/w1.netlink
+++ b/Documentation/w1/w1.netlink
@@ -112,6 +112,12 @@ cn_msg->len = sizeof(struct w1_netlink_msg) +
sizeof(struct w1_netlink_cmd) +
N*8;
+W1 reset command.
+[cn_msg]
+ [w1_netlink_msg type = W1_MASTER_CMD
+ id is equal to the bus master id to use for searching]
+ [w1_netlink_cmd cmd = W1_CMD_RESET]
+
Operation steps in w1 core when new command is received.
=======================================================