]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix port identification for the 84834
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 27 Feb 2013 13:06:44 +0000 (13:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2013 20:37:29 +0000 (15:37 -0500)
commitbf866a9a4b93d8fc9d54dd4fd2149c0a52b0c219
tree9b7400f61db85979709406a10ac5d9e501396ce6
parent05d7bd43e2f2ece952faf0782ccad09319302f72
bnx2x: Fix port identification for the 84834

Fix the "ethtool -p" for boards with BCM84834, by using LED4 of the PHY
to toggle the link LED while keeping interrupt disabled to avoid NIG attentions,
and at the end restore NIG to previous state.

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h