bnx2x: Fix remote fault handling
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 2 Aug 2011 22:59:25 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Aug 2011 10:22:17 +0000 (03:22 -0700)
commitde6f3377d2da3b384ca3d716ffb8687ad175788a
treec553d1f6128caf0d3fabf884bd3758ca04afd6f5
parentb507766205f85d6d69892287e346a7c264a216b4
bnx2x: Fix remote fault handling

Fix couple of issues of remote fault detection and handling:
Link may go down due to remote fault indications during link establishment.
Possible link down after primary function migration.
Remote fault was not detected on 578xx.

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