bnx2x: Fix resetting BCM8726 PHY during common init
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Mon, 1 Nov 2010 05:32:36 +0000 (05:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Nov 2010 13:21:38 +0000 (06:21 -0700)
commit650154bfd1ef3119e7c79f35447f0e11a5e4f7c6
tree998a36ac612ea93b678c0e1c942067219da3afba
parentcf1d972cb6393b9b042289739111773226861d6c
bnx2x: Fix resetting BCM8726 PHY during common init

On BCM8726 based designs, the ports are swapped, hence the reset needs
to be asserted through port0 and not port1.

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