]> Pileus Git - ~andy/linux/commit
bnx2x: Fix 20G KR2 support claims
authorYaniv Rosner <yanivr@broadcom.com>
Thu, 20 Jun 2013 14:39:11 +0000 (17:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 06:54:16 +0000 (23:54 -0700)
commitb8e0d884cba6b9cd6e43adfaab9e67096ee8fb28
treebc05d0f39b0b2b3f35c1c1c3a0b8b1f46ab31d69
parent03c22ea3f0951f7c5395fe8348cb15100815268a
bnx2x: Fix 20G KR2 support claims

Don't claim 20G is supported if the speed is unsupported by the phys
(reflected by various ethtools and ndos).

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c