diff options
author | Yaniv Rosner <yaniv.rosner@broadcom.com> | 2010-11-01 01:32:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-01 09:21:39 -0400 |
commit | 1d03f069e42005e881fe96cf0185bdd4293ad340 (patch) | |
tree | 949afcc3fdff014858c08be24d9b840b34842acf /drivers | |
parent | 121839beac03a127148605931598cd36e1cbeab7 (diff) |
bnx2x: Reset 8073 phy during common init
Resetting 8073 during common init is required on boards in which the
8073 reset pin is not asserted by default.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_link.c b/drivers/net/bnx2x/bnx2x_link.c index d076b911e160..580919619252 100644 --- a/drivers/net/bnx2x/bnx2x_link.c +++ b/drivers/net/bnx2x/bnx2x_link.c | |||
@@ -7024,6 +7024,7 @@ static u8 bnx2x_8073_common_init_phy(struct bnx2x *bp, | |||
7024 | s8 port; | 7024 | s8 port; |
7025 | s8 port_of_path = 0; | 7025 | s8 port_of_path = 0; |
7026 | 7026 | ||
7027 | bnx2x_ext_phy_hw_reset(bp, 0); | ||
7027 | /* PART1 - Reset both phys */ | 7028 | /* PART1 - Reset both phys */ |
7028 | for (port = PORT_MAX - 1; port >= PORT_0; port--) { | 7029 | for (port = PORT_MAX - 1; port >= PORT_0; port--) { |
7029 | u32 shmem_base, shmem2_base; | 7030 | u32 shmem_base, shmem2_base; |