diff options
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index 63b94ca0018b..e1fb099acbf2 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -3872,6 +3872,7 @@ struct bnx2 { | |||
3872 | char *name; | 3872 | char *name; |
3873 | 3873 | ||
3874 | int timer_interval; | 3874 | int timer_interval; |
3875 | int current_interval; | ||
3875 | struct timer_list timer; | 3876 | struct timer_list timer; |
3876 | struct work_struct reset_task; | 3877 | struct work_struct reset_task; |
3877 | int in_reset_task; | 3878 | int in_reset_task; |
@@ -3986,7 +3987,7 @@ struct bnx2 { | |||
3986 | #define PHY_LOOPBACK 2 | 3987 | #define PHY_LOOPBACK 2 |
3987 | 3988 | ||
3988 | u8 serdes_an_pending; | 3989 | u8 serdes_an_pending; |
3989 | #define SERDES_AN_TIMEOUT (2 * HZ) | 3990 | #define SERDES_AN_TIMEOUT (HZ / 3) |
3990 | 3991 | ||
3991 | u8 mac_addr[8]; | 3992 | u8 mac_addr[8]; |
3992 | 3993 | ||
@@ -4172,6 +4173,9 @@ struct fw_info { | |||
4172 | 4173 | ||
4173 | #define BNX2_PORT_HW_CFG_MAC_LOWER 0x00000054 | 4174 | #define BNX2_PORT_HW_CFG_MAC_LOWER 0x00000054 |
4174 | #define BNX2_PORT_HW_CFG_CONFIG 0x00000058 | 4175 | #define BNX2_PORT_HW_CFG_CONFIG 0x00000058 |
4176 | #define BNX2_PORT_HW_CFG_CFG_DFLT_LINK_MASK 0x001f0000 | ||
4177 | #define BNX2_PORT_HW_CFG_CFG_DFLT_LINK_AN 0x00000000 | ||
4178 | #define BNX2_PORT_HW_CFG_CFG_DFLT_LINK_1G 0x00030000 | ||
4175 | 4179 | ||
4176 | #define BNX2_PORT_HW_CFG_IMD_MAC_A_UPPER 0x00000068 | 4180 | #define BNX2_PORT_HW_CFG_IMD_MAC_A_UPPER 0x00000068 |
4177 | #define BNX2_PORT_HW_CFG_IMD_MAC_A_LOWER 0x0000006c | 4181 | #define BNX2_PORT_HW_CFG_IMD_MAC_A_LOWER 0x0000006c |