]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc83aab4e9d6617e403a07bb290dbb2801486452
tree1a68c033d4cac80a412063eb7a201c9104e87672
parent4af8831de7640929bec8669c48ca371a63010eff
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