Kernel: bump 4.14 to 4.14.29
[openwrt/openwrt.git] / target / linux / generic / pending-4.14 / 734-net-phy-at803x-allow-to-configure-via-pdata.patch
index 19dea170c32cbdf4fef64b5730ef7731df108feb..a217f750bc4e9647a19ac1da09e9b7197b77c4e5 100644 (file)
@@ -48,7 +48,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  };
  
  struct at803x_context {
-@@ -277,8 +285,16 @@ does_not_require_reset_workaround:
+@@ -273,8 +281,16 @@ does_not_require_reset_workaround:
        return 0;
  }
  
@@ -65,7 +65,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
        int ret;
  
        ret = genphy_config_init(phydev);
-@@ -299,6 +315,26 @@ static int at803x_config_init(struct phy
+@@ -295,6 +311,26 @@ static int at803x_config_init(struct phy
                        return ret;
        }
  
@@ -92,7 +92,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
        return 0;
  }
  
-@@ -336,6 +372,8 @@ static int at803x_config_intr(struct phy
+@@ -332,6 +368,8 @@ static int at803x_config_intr(struct phy
  static void at803x_link_change_notify(struct phy_device *phydev)
  {
        struct at803x_priv *priv = phydev->priv;
@@ -101,7 +101,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  
        /*
         * Conduct a hardware reset for AT8030/2 every time a link loss is
-@@ -364,6 +402,24 @@ static void at803x_link_change_notify(st
+@@ -360,6 +398,24 @@ static void at803x_link_change_notify(st
        } else {
                priv->phy_reset = false;
        }