aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-04-18 14:38:40 +0200
committerDavid Bauer <mail@david-bauer.net>2021-04-18 14:42:06 +0200
commit75c01ee2b92c6702202f89f900428a7f5c6709ad (patch)
tree7b97798c9dc83587818b208f3bb8804a27e116a4
parenteb85ab9ab6a1dbd81103a2d3243e893de3680bf9 (diff)
downloadupstream-75c01ee2b92c6702202f89f900428a7f5c6709ad.tar.gz
upstream-75c01ee2b92c6702202f89f900428a7f5c6709ad.tar.bz2
upstream-75c01ee2b92c6702202f89f900428a7f5c6709ad.zip
ramips: fix at803x patch
This patch broke while refreshing on a kernel bump. It adds the config_aneg function twice to the AR8035 PHY now. Restore the old behavior to restore the patches original intent. Fixes commit 57e32650efa4 ("kernel: bump 5.10 to 5.10.31") Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--target/linux/ramips/patches-5.10/710-at803x.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/patches-5.10/710-at803x.patch b/target/linux/ramips/patches-5.10/710-at803x.patch
index cb23932514..dab62b7607 100644
--- a/target/linux/ramips/patches-5.10/710-at803x.patch
+++ b/target/linux/ramips/patches-5.10/710-at803x.patch
@@ -139,11 +139,11 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>
ret = at803x_config_mdix(phydev, phydev->mdix_ctrl);
if (ret < 0)
return ret;
-@@ -1083,6 +1166,7 @@ static struct phy_driver at803x_driver[]
- .suspend = at803x_suspend,
- .resume = at803x_resume,
- /* PHY_GBIT_FEATURES */
+@@ -1110,6 +1193,7 @@ static struct phy_driver at803x_driver[]
+ /* Qualcomm Atheros AR8031/AR8033 */
+ PHY_ID_MATCH_EXACT(ATH8031_PHY_ID),
+ .name = "Qualcomm Atheros AR8031/AR8033",
+ .config_aneg = at803x_config_aneg,
- .read_status = at803x_read_status,
- .ack_interrupt = at803x_ack_interrupt,
- .config_intr = at803x_config_intr,
+ .flags = PHY_POLL_CABLE_TEST,
+ .probe = at803x_probe,
+ .remove = at803x_remove,