]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:26 +0000 (15:23 +0800)
commite838c47d66eedf68827ff2bb64337e68a4117717
treeb9a5f7ffe734a2437444ebbc3d2ed77ed0fd6d52
parent5d6434e937dc2de261e7f7e7ec70a0156551d2ee
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.

(cherry picked from commit 55098c5c61ea99f0fa46ddf817a0f940ca7e6af1)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_link.c
drivers/net/bnx2x/bnx2x_link.h