]> git.baikalelectronics.ru Git - kernel.git/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)
commitee56398f9adcbea4d51ae348a9b01bc561978d2e
treebc05d0f39b0b2b3f35c1c1c3a0b8b1f46ab31d69
parent9430cc22a74f8cf79b6919c6f535a9dda1df7804
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