]> 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)
commitcffa03c8db6836223c0ad2873b3d3d3cdbdcd9cb
tree9b7400f61db85979709406a10ac5d9e501396ce6
parentd086e83844c65baca5d0c4ac88b3f2903bb81323
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