Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7bc788b authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller
Browse files

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: default avatarYaniv Rosner <yanivr@broadcom.com>
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cc1cb004
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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,