r8169: rename RTL8125 to RTL8125A
[linux-2.6-microblaze.git] / drivers / net / ethernet / realtek / r8169_phy_config.c
index b73f7d0..0cf4893 100644 (file)
@@ -89,7 +89,7 @@ static void rtl8168h_config_eee_phy(struct phy_device *phydev)
        phy_modify_paged(phydev, 0xa42, 0x14, 0x0000, 0x0080);
 }
 
-static void rtl8125_config_eee_phy(struct phy_device *phydev)
+static void rtl8125a_config_eee_phy(struct phy_device *phydev)
 {
        rtl8168h_config_eee_phy(phydev);
 
@@ -1140,8 +1140,8 @@ static void rtl8106e_hw_phy_config(struct rtl8169_private *tp,
        rtl_writephy_batch(phydev, phy_reg_init);
 }
 
-static void rtl8125_1_hw_phy_config(struct rtl8169_private *tp,
-                                   struct phy_device *phydev)
+static void rtl8125a_1_hw_phy_config(struct rtl8169_private *tp,
+                                    struct phy_device *phydev)
 {
        phy_modify_paged(phydev, 0xad4, 0x10, 0x03ff, 0x0084);
        phy_modify_paged(phydev, 0xad4, 0x17, 0x0000, 0x0010);
@@ -1175,11 +1175,11 @@ static void rtl8125_1_hw_phy_config(struct rtl8169_private *tp,
        phy_modify_paged(phydev, 0xa5c, 0x10, 0x0400, 0x0000);
        rtl8168g_enable_gphy_10m(phydev);
 
-       rtl8125_config_eee_phy(phydev);
+       rtl8125a_config_eee_phy(phydev);
 }
 
-static void rtl8125_2_hw_phy_config(struct rtl8169_private *tp,
-                                   struct phy_device *phydev)
+static void rtl8125a_2_hw_phy_config(struct rtl8169_private *tp,
+                                    struct phy_device *phydev)
 {
        int i;
 
@@ -1240,7 +1240,7 @@ static void rtl8125_2_hw_phy_config(struct rtl8169_private *tp,
        phy_modify_paged(phydev, 0xa86, 0x15, 0x0001, 0x0000);
        rtl8168g_enable_gphy_10m(phydev);
 
-       rtl8125_config_eee_phy(phydev);
+       rtl8125a_config_eee_phy(phydev);
 }
 
 void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev,
@@ -1300,8 +1300,8 @@ void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev,
                [RTL_GIGA_MAC_VER_50] = rtl8168ep_2_hw_phy_config,
                [RTL_GIGA_MAC_VER_51] = rtl8168ep_2_hw_phy_config,
                [RTL_GIGA_MAC_VER_52] = rtl8117_hw_phy_config,
-               [RTL_GIGA_MAC_VER_60] = rtl8125_1_hw_phy_config,
-               [RTL_GIGA_MAC_VER_61] = rtl8125_2_hw_phy_config,
+               [RTL_GIGA_MAC_VER_60] = rtl8125a_1_hw_phy_config,
+               [RTL_GIGA_MAC_VER_61] = rtl8125a_2_hw_phy_config,
        };
 
        if (phy_configs[ver])