summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_hsi.h
diff options
context:
space:
mode:
authorYaniv Rosner <yanivr@broadcom.com>2011-08-02 22:59:25 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-03 03:22:17 -0700
commitde6f3377d2da3b384ca3d716ffb8687ad175788a (patch)
treec553d1f6128caf0d3fabf884bd3758ca04afd6f5 /drivers/net/bnx2x/bnx2x_hsi.h
parentb507766205f85d6d69892287e346a7c264a216b4 (diff)
downloadlinux-de6f3377d2da3b384ca3d716ffb8687ad175788a.tar.gz
linux-de6f3377d2da3b384ca3d716ffb8687ad175788a.tar.bz2
linux-de6f3377d2da3b384ca3d716ffb8687ad175788a.zip
bnx2x: Fix remote fault handling
Fix couple of issues of remote fault detection and handling: Link may go down due to remote fault indications during link establishment. Possible link down after primary function migration. Remote fault was not detected on 578xx. Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_hsi.h')
-rw-r--r--drivers/net/bnx2x/bnx2x_hsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_hsi.h b/drivers/net/bnx2x/bnx2x_hsi.h
index 06727f32e505..dc24de40e336 100644
--- a/drivers/net/bnx2x/bnx2x_hsi.h
+++ b/drivers/net/bnx2x/bnx2x_hsi.h
@@ -1204,6 +1204,8 @@ struct drv_port_mb {
#define LINK_STATUS_PFC_ENABLED 0x20000000
+ #define LINK_STATUS_PHYSICAL_LINK_FLAG 0x40000000
+
u32 port_stx;
u32 stat_nig_timer;