diff options
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_link.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_link.c b/drivers/net/bnx2x/bnx2x_link.c index a07a3a6abd40..51d468d430ee 100644 --- a/drivers/net/bnx2x/bnx2x_link.c +++ b/drivers/net/bnx2x/bnx2x_link.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | /********************************************************/ | 29 | /********************************************************/ |
30 | #define ETH_HLEN 14 | 30 | #define ETH_HLEN 14 |
31 | #define ETH_OVREHEAD (ETH_HLEN + 8)/* 8 for CRC + VLAN*/ | 31 | #define ETH_OVREHEAD (ETH_HLEN + 8 + 8)/* 16 for CRC + VLAN + LLC */ |
32 | #define ETH_MIN_PACKET_SIZE 60 | 32 | #define ETH_MIN_PACKET_SIZE 60 |
33 | #define ETH_MAX_PACKET_SIZE 1500 | 33 | #define ETH_MAX_PACKET_SIZE 1500 |
34 | #define ETH_MAX_JUMBO_PACKET_SIZE 9600 | 34 | #define ETH_MAX_JUMBO_PACKET_SIZE 9600 |
@@ -4066,6 +4066,7 @@ static u8 bnx2x_verify_sfp_module(struct bnx2x_phy *phy, | |||
4066 | "verification\n"); | 4066 | "verification\n"); |
4067 | return -EINVAL; | 4067 | return -EINVAL; |
4068 | } | 4068 | } |
4069 | |||
4069 | fw_cmd_param = FW_PARAM_SET(phy->addr, phy->type, phy->mdio_ctrl); | 4070 | fw_cmd_param = FW_PARAM_SET(phy->addr, phy->type, phy->mdio_ctrl); |
4070 | fw_resp = bnx2x_fw_command(bp, cmd, fw_cmd_param); | 4071 | fw_resp = bnx2x_fw_command(bp, cmd, fw_cmd_param); |
4071 | if (fw_resp == FW_MSG_CODE_VRFY_OPT_MDL_SUCCESS) { | 4072 | if (fw_resp == FW_MSG_CODE_VRFY_OPT_MDL_SUCCESS) { |