diff options
author | David Fries <david@fries.net> | 2008-10-16 09:05:06 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 22:21:51 +0400 |
commit | 4b9cf1bc329e626f3fa655370ee8cc156ab29a55 (patch) | |
tree | 3747fda455bb14226daacdbad7acc7e80e8ebe4e /drivers/sbus | |
parent | 6e10f65427ed800ad1026dbf8064ca536ea98afc (diff) | |
download | linux-4b9cf1bc329e626f3fa655370ee8cc156ab29a55.tar.xz |
W1: ds2490.c ds_dump_status rework
- add result register #defines
- rename ds_dump_status to ds_print_msg
- rename ds_recv_status to ds_dump_status
- ds_dump_status prints the requested status and no longer reads the
status, this is because the second status read can return different
data for example the result register
- the result register will be printed, though limited to detecting a
new device, detecting other values such as a short would require
additional reporting methods
- ST_EPOF was moved to ds_wait_status to clear the error condition
sooner
Signed-off-by: David Fries <david@fries.net>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions