Skip to content

Commit

Permalink
bnx2x: Enable BCM8726 module transmitter
Browse files Browse the repository at this point in the history
When 8726 module detection option is disabled, module should be transmitting
regardless of invalid read from EEPROM

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>
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Mar 3, 2009
1 parent cc1cb00 commit d7bc788
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/net/bnx2x_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -2668,11 +2668,7 @@ static u8 bnx2x_sfp_module_detection(struct link_params *params)
params->port);

/* Check and set limiting mode / LRM mode */
if (bnx2x_bcm8726_set_limiting_mode(params, module_type)
!= 0) {
DP(NETIF_MSG_LINK, "Setting limiting mode failed!!\n");
return -EINVAL;
}
bnx2x_bcm8726_set_limiting_mode(params, module_type);

/* Enable transmit for this module */
bnx2x_bcm8726_set_transmitter(bp, params->port,
Expand Down

0 comments on commit d7bc788

Please sign in to comment.