aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_hsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_hsi.h')
-rw-r--r--drivers/net/bnx2x_hsi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h
index 03c62421d999..41c6dcb9618a 100644
--- a/drivers/net/bnx2x_hsi.h
+++ b/drivers/net/bnx2x_hsi.h
@@ -91,6 +91,21 @@ struct shared_hw_cfg { /* NVRAM Offset */
91 91
92#define SHARED_HW_CFG_HIDE_PORT1 0x00002000 92#define SHARED_HW_CFG_HIDE_PORT1 0x00002000
93 93
94 /* The fan failure mechanism is usually related to the PHY type
95 since the power consumption of the board is determined by the PHY.
96 Currently, fan is required for most designs with SFX7101, BCM8727
97 and BCM8481. If a fan is not required for a board which uses one
98 of those PHYs, this field should be set to "Disabled". If a fan is
99 required for a different PHY type, this option should be set to
100 "Enabled".
101 The fan failure indication is expected on
102 SPIO5 */
103#define SHARED_HW_CFG_FAN_FAILURE_MASK 0x00180000
104#define SHARED_HW_CFG_FAN_FAILURE_SHIFT 19
105#define SHARED_HW_CFG_FAN_FAILURE_PHY_TYPE 0x00000000
106#define SHARED_HW_CFG_FAN_FAILURE_DISABLED 0x00080000
107#define SHARED_HW_CFG_FAN_FAILURE_ENABLED 0x00100000
108
94 u32 power_dissipated; /* 0x11c */ 109 u32 power_dissipated; /* 0x11c */
95#define SHARED_HW_CFG_POWER_DIS_CMN_MASK 0xff000000 110#define SHARED_HW_CFG_POWER_DIS_CMN_MASK 0xff000000
96#define SHARED_HW_CFG_POWER_DIS_CMN_SHIFT 24 111#define SHARED_HW_CFG_POWER_DIS_CMN_SHIFT 24