提交 d7bc788b 编写于 作者: E Eilon Greenstein 提交者: David S. Miller

bnx2x: Enable BCM8726 module transmitter

When 8726 module detection option is disabled, module should be transmitting
regardless of invalid read from EEPROM
Signed-off-by: NYaniv Rosner <yanivr@broadcom.com>
Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 cc1cb004
...@@ -2668,11 +2668,7 @@ static u8 bnx2x_sfp_module_detection(struct link_params *params) ...@@ -2668,11 +2668,7 @@ static u8 bnx2x_sfp_module_detection(struct link_params *params)
params->port); params->port);
/* Check and set limiting mode / LRM mode */ /* Check and set limiting mode / LRM mode */
if (bnx2x_bcm8726_set_limiting_mode(params, module_type) bnx2x_bcm8726_set_limiting_mode(params, module_type);
!= 0) {
DP(NETIF_MSG_LINK, "Setting limiting mode failed!!\n");
return -EINVAL;
}
/* Enable transmit for this module */ /* Enable transmit for this module */
bnx2x_bcm8726_set_transmitter(bp, params->port, bnx2x_bcm8726_set_transmitter(bp, params->port,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册