diff options
author | Evgeniy Polyakov <zbr@ioremap.net> | 2009-01-07 21:09:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 11:31:13 -0500 |
commit | c7e26631d27b61d66ea6fb9b113fb92f1fa20d90 (patch) | |
tree | 6f8099b1481af05c0a34d943bba71f4f2a647c3a /drivers/w1/w1_netlink.h | |
parent | e4e056aa3518197830c884b85268799b1868e8e3 (diff) |
w1: allow master IO commands
This small patchset extendes existing commands with reset, master IO and
status messages. Reset is used to reset the bus for given master device,
master IO command allows to initiate IO against bus itself not selecting
slave device first, which can be used to probe the device for example.
And status messages carry command completion status back to the userspace
(namely very useful to get -ENODEV from when requested device was not
found).
Great thanks to Paul Alfille of OWFS for testing and commands suggestions.
This patch:
Allow starting of IO not against already found slave devices, but against
the bus itself, which can be used for example to probe devices.
[akpm@linux-foundation.org: reindent switch statements]
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 'drivers/w1/w1_netlink.h')
0 files changed, 0 insertions, 0 deletions