aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-4.14/425-at803x-allow-sgmii-aneg-override.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/patches-4.14/425-at803x-allow-sgmii-aneg-override.patch')
-rw-r--r--target/linux/ath79/patches-4.14/425-at803x-allow-sgmii-aneg-override.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/target/linux/ath79/patches-4.14/425-at803x-allow-sgmii-aneg-override.patch b/target/linux/ath79/patches-4.14/425-at803x-allow-sgmii-aneg-override.patch
deleted file mode 100644
index 3b302dcd9e..0000000000
--- a/target/linux/ath79/patches-4.14/425-at803x-allow-sgmii-aneg-override.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/drivers/net/phy/at803x.c
-+++ b/drivers/net/phy/at803x.c
-@@ -472,6 +472,13 @@ static int at803x_aneg_done(struct phy_d
- if (!(phy_read(phydev, AT803X_PSSR) & AT803X_PSSR_MR_AN_COMPLETE)) {
- pr_warn("803x_aneg_done: SGMII link is not ok\n");
- aneg_done = 0;
-+#ifdef CONFIG_OF_MDIO
-+ if (phydev->mdio.dev.of_node &&
-+ of_property_read_bool(phydev->mdio.dev.of_node,
-+ "at803x-override-sgmii-link-check")) {
-+ aneg_done = 1;
-+ }
-+#endif
- }
- /* switch back to copper page */
- phy_write(phydev, AT803X_REG_CHIP_CONFIG, ccr | AT803X_BT_BX_REG_SEL);