w1: added w1 reset command

Command which allows to reset the bus.

Signed-off-by: Evgeniy Polyakov <[email protected]>
Cc: Paul Alfille <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Evgeniy Polyakov 2009-01-07 18:09:04 -08:00 • committed by Linus Torvalds
commit f89735c4e2
3 changed files with 10 additions and 0 deletions

View file

@ -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.
=======================================================