]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Add remote-fault link detection
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Tue, 3 Apr 2012 18:41:27 +0000 (18:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 05:37:59 +0000 (01:37 -0400)
commit14927d56f401dfe75182989a957fffa8a9318601
tree9a0b320a2996341dffd06c7e0ddf3e0cb60e4931
parent8f98e71483a4bc4058d2e1ab854338f0eb23bb7b
bnx2x: Add remote-fault link detection

Restore remote-faule detection, which periodically checks for
remote-fault on the MAC layer. In case physical link appear to be
up but fault is set, it will provide a link down indication, and
when the fault is cleared, it will indicate link up again.

Signed-off-by: Yaniv Rosner <yaniv.rosner@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_link.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h