bnx2x: Fix potential link issue In BCM8727 based boards
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Wed, 1 Sep 2010 09:51:20 +0000 (09:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Sep 2010 17:44:31 +0000 (10:44 -0700)
commiteb80ce740a7e1deda5bedb9b5df876ce84ac5bc2
tree1072eeaa7b36311c24114c88b9235a180301ffd8
parent8ca60a68a9fd61b4cf31b48d9c365b07e5588bbe
bnx2x: Fix potential link issue In BCM8727 based boards

In BCM8727 based boards, setting default 10G link speed after link was
set to 1G may lead to link down issue. The problem was setting the right
value, but to the wrong registers

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_link.c
drivers/net/bnx2x/bnx2x_reg.h