diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2013-02-27 17:06:45 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-01 00:37:29 +0400 |
commit | be94bea753a4d5ac0982df07aaeaf0cb1f7554dd (patch) | |
tree | 6a54d291fd64459728cc5ceef0a34205818d1b8e /drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | |
parent | 8ce7684533013d0a0dfbd627ed0430ecb0c82213 (diff) | |
download | linux-be94bea753a4d5ac0982df07aaeaf0cb1f7554dd.tar.xz |
bnx2x: Fix KR2 link
Fix KR2 link down problem after reboot when link speed is reconfigured via ethtool.
Since 1G/10G support link speed were missing by default, 1G/10G link speed were
not advertised.
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/ethernet/broadcom/bnx2x/bnx2x_link.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c index 4719ab1a31e3..bf69c5306e46 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c @@ -11851,6 +11851,8 @@ static int bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port, phy->media_type = ETH_PHY_KR; phy->flags |= FLAGS_WC_DUAL_MODE; phy->supported &= (SUPPORTED_20000baseKR2_Full | + SUPPORTED_10000baseT_Full | + SUPPORTED_1000baseT_Full | SUPPORTED_Autoneg | SUPPORTED_FIBRE | SUPPORTED_Pause | |