IB/ipath: Fix mismatch in shifts and masks for printing debug info
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 28 Sep 2006 16:00:10 +0000 (09:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 18:16:47 +0000 (11:16 -0700)
commit5659416207a9bcf35a646c7b798b290953e4891c
tree3d8ea17b0e40266378189307192fe7b140d43130
parent0624b072f230af4f24c112019b04f898ef7b4e2c
IB/ipath: Fix mismatch in shifts and masks for printing debug info

Fixed mismatch in linkstate/trainingstate shifts and masks in the
IPATH_IBSTATE_MASK macro.  It kept some linktrainingstates
from being printed correctly in debug; no functionality issue unless
I misread the code.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_registers.h