summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_debug.h
diff options
context:
space:
mode:
authorMichael Albaugh2008-04-17 06:09:26 +0200
committerRoland Dreier2008-04-17 06:09:26 +0200
commit4330e4dad780467d930b394b5119c0218a1e2dbe (patch)
treebd0e113cbdcda5122a056431c084b079e9fe1684 /drivers/infiniband/hw/ipath/ipath_debug.h
parentIB/ipath: Remove some useless (void) casts (diff)
downloadkernel-qcow2-linux-4330e4dad780467d930b394b5119c0218a1e2dbe.tar.gz
kernel-qcow2-linux-4330e4dad780467d930b394b5119c0218a1e2dbe.tar.xz
kernel-qcow2-linux-4330e4dad780467d930b394b5119c0218a1e2dbe.zip
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_debug.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_debug.h b/drivers/infiniband/hw/ipath/ipath_debug.h
index 7170bd20cfbb..65926cd35759 100644
--- a/drivers/infiniband/hw/ipath/ipath_debug.h
+++ b/drivers/infiniband/hw/ipath/ipath_debug.h
@@ -90,6 +90,7 @@
#define __IPATH_IPATHERR 0x0 /* Ethernet (IPATH) errors on */
#define __IPATH_IPATHPD 0x0 /* Ethernet (IPATH) packet dump on */
#define __IPATH_IPATHTABLE 0x0 /* Ethernet (IPATH) packet dump on */
+#define __IPATH_LINKVERBDBG 0x0 /* very verbose linkchange debug */
#endif /* _IPATH_DEBUGGING */