Actually from r810x_pll_power_up function i removed function
  r810x_phy_power_up because is two situation.One run from  rtl8169_phy_reset
 wich already power on interface after reset MII_BMCR  and two i placed
 supplementary on __rtl8169_resume.

Signed-off-by: Corcodel Marian <corcodel.mar...@gmail.com>

diff --git a/drivers/net/ethernet/realtek/r8169.c 
b/drivers/net/ethernet/realtek/r8169.c
index 91cf3a6..2d712a4 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -4699,7 +4699,6 @@ static void r810x_pll_power_up(struct rtl8169_private *tp)
 {
        void __iomem *ioaddr = tp->mmio_addr;
 
-       r810x_phy_power_up(tp);
 
        switch (tp->mac_version) {
        case RTL_GIGA_MAC_VER_07:
@@ -7862,7 +7861,7 @@ static void __rtl8169_resume(struct net_device *dev)
        struct rtl8169_private *tp = netdev_priv(dev);
 
        netif_device_attach(dev);
-
+       r810x_phy_power_up(tp); 
        rtl_pll_power_up(tp);
 
        rtl_lock_work(tp);
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to