From: Eilon Greenstein Date: Mon, 2 Mar 2009 08:00:07 +0000 (+0000) Subject: bnx2x: Enable BCM8726 module transmitter X-Git-Tag: v2.6.30-rc1~662^2~398 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d7bc788beca5879f03e0120ac27b99bdeed95921;p=karo-tx-linux.git 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: Yaniv Rosner Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index 35f3b5a05723..280f008c616d 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c @@ -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,