From: Yaniv Rosner Date: Mon, 1 Nov 2010 05:32:41 +0000 (+0000) Subject: bnx2x: Reset 8073 phy during common init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d03f069e42005e881fe96cf0185bdd4293ad340;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x/bnx2x_link.c b/drivers/net/bnx2x/bnx2x_link.c index d076b911e16..58091961925 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, s8 port; s8 port_of_path = 0; + bnx2x_ext_phy_hw_reset(bp, 0); /* PART1 - Reset both phys */ for (port = PORT_MAX - 1; port >= PORT_0; port--) { u32 shmem_base, shmem2_base;