sbp2: proper treatment of DID_OK
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 29 Mar 2006 01:03:45 +0000 (20:03 -0500)
committerJody McIntyre <scjody@modernduck.com>
Wed, 29 Mar 2006 01:03:45 +0000 (20:03 -0500)
commit8f0525ff1901f4fafe6d02d5d373ca38103ff5a7
tree1a68c033d4cac80a412063eb7a201c9104e87672
parent23e93f1742372bc938e53151bdbf88d284ee9561
sbp2: proper treatment of DID_OK

Sbp2 relied on DID_OK to be defined as 0. Always shift DID_OK into the right
position anyway, and explicitly return DID_OK together with CHECK_CONDITION.
Also comment on some #if 0 code. The patch does not change current behaviour.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
drivers/ieee1394/sbp2.c