IB/ipath: Don't try to handle freeze mode HW errors if diagnostic mode
authorRalph Campbell <ralph.campbell@qlogic.com>
Thu, 17 Apr 2008 04:01:14 +0000 (21:01 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:01:14 +0000 (21:01 -0700)
commitc1702be20fd44f4c878a182be1559c2242916820
tree3a227cb0a5327db2ffbbe62f5fe7dd56edd570f4
parentb84888215310002e3d266d5a7fe458bb224f6881
IB/ipath: Don't try to handle freeze mode HW errors if diagnostic mode

Don't try to handle freeze mode HW errors if the driver is in diagnostic
mode since some tests can cause errors that shouldn't be processed.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_iba6120.c