diff options
author | Michael Albaugh <Michael.Albaugh@Qlogic.com> | 2008-04-17 00:09:26 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:09:26 -0400 |
commit | 4330e4dad780467d930b394b5119c0218a1e2dbe (patch) | |
tree | bd0e113cbdcda5122a056431c084b079e9fe1684 /drivers/infiniband/hw/ipath/ipath_kernel.h | |
parent | 8c641d4b5f6653b6c486eab4d8e8d59539066f31 (diff) |
IB/ipath: Prevent link-recovery code from negating admin disable
The link can be put in LINKDOWN_DISABLE state either locally or via a
MAD. However, the link-recovery code will take it out of that state as
a side-effect of attempts to clear SerDes/XGXS issues.
We add a flag to indicate "link is down on purpose, leave it alone."
Signed-off-by: Michael Albaugh <michael.albaugh@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index b8b81cb745b9..2510359b1c83 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h | |||
@@ -848,6 +848,8 @@ void ipath_hol_event(unsigned long); | |||
848 | /* Suppress heartbeat, even if turning off loopback */ | 848 | /* Suppress heartbeat, even if turning off loopback */ |
849 | #define IPATH_NO_HRTBT 0x1000000 | 849 | #define IPATH_NO_HRTBT 0x1000000 |
850 | #define IPATH_HAS_MULT_IB_SPEED 0x8000000 | 850 | #define IPATH_HAS_MULT_IB_SPEED 0x8000000 |
851 | /* Linkdown-disable intentionally, Do not attempt to bring up */ | ||
852 | #define IPATH_IB_LINK_DISABLED 0x40000000 | ||
851 | #define IPATH_IB_FORCE_NOTIFY 0x80000000 /* force notify on next ib change */ | 853 | #define IPATH_IB_FORCE_NOTIFY 0x80000000 /* force notify on next ib change */ |
852 | 854 | ||
853 | /* Bits in GPIO for the added interrupts */ | 855 | /* Bits in GPIO for the added interrupts */ |