summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_link.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-03-02 09:00:07 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-03 07:32:43 +0100
commitd7bc788beca5879f03e0120ac27b99bdeed95921 (patch)
tree1735b6bafb6423acea21095b4bea40b5d874762e /drivers/net/bnx2x_link.c
parentbnx2x: Supporting new BCM8726 FW (diff)
downloadlinux-d7bc788beca5879f03e0120ac27b99bdeed95921.tar.xz
linux-d7bc788beca5879f03e0120ac27b99bdeed95921.zip
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 <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r--drivers/net/bnx2x_link.c6
1 files changed, 1 insertions, 5 deletions
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,