bnx2x: Fix BCM57810-KR AN speed transition
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 4 Apr 2012 01:28:56 +0000 (01:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 22:24:22 +0000 (18:24 -0400)
commit6a51c0d17b8fb6ae300ba5bc42a020160944e1b2
tree92867f5a1a5c3e17e791919a154d9a41903ca26e
parentca05f29cf515ac4a8e162c8e0eee886727f5dcc7
bnx2x: Fix BCM57810-KR AN speed transition

BCM57810-KR link may not come up in 1G after running loopback test, so set
the relevant registers to their default values before starting KR autoneg.

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