bnx2x: Restore global registers back to default.
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 31 Oct 2012 05:46:54 +0000 (05:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 15:31:53 +0000 (11:31 -0400)
commitcd1a26a3bbc797100c55594bac0546204ccb1107
tree8163ad7068e440b1944ead5932a029943ead6023
parenta75bb0010026f39910cd01d33a5baa47191539a0
bnx2x: Restore global registers back to default.

Several KR registers were not set correctly back to default after
loopback test, so set those global registers over the global WC lane (zero)
rather than the current lane.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c