diff options
author | Evgeniy Polyakov <zbr@ioremap.net> | 2009-01-07 18:09:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 08:31:13 -0800 |
commit | c7e26631d27b61d66ea6fb9b113fb92f1fa20d90 (patch) | |
tree | 6f8099b1481af05c0a34d943bba71f4f2a647c3a /firmware | |
parent | e4e056aa3518197830c884b85268799b1868e8e3 (diff) | |
download | linux-c7e26631d27b61d66ea6fb9b113fb92f1fa20d90.tar.gz linux-c7e26631d27b61d66ea6fb9b113fb92f1fa20d90.tar.bz2 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 'firmware')
0 files changed, 0 insertions, 0 deletions