diff options
author | Evgeniy Polyakov <zbr@ioremap.net> | 2009-01-08 03:09:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 17:31:13 +0100 |
commit | c7e26631d27b61d66ea6fb9b113fb92f1fa20d90 (patch) | |
tree | 6f8099b1481af05c0a34d943bba71f4f2a647c3a /lib/extable.c | |
parent | w1: documentation update (diff) | |
download | linux-c7e26631d27b61d66ea6fb9b113fb92f1fa20d90.tar.xz linux-c7e26631d27b61d66ea6fb9b113fb92f1fa20d90.zip |
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 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions