aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-06-07 01:05:24 +0200
committerDavid Bauer <mail@david-bauer.net>2021-06-08 00:39:28 +0200
commit902d7e497c3c26c1a7d9c06945746c319866b335 (patch)
treedcf03970bbaf856e3543d8debedade832a51c222 /target
parent0056ffb468f40f34bea006eb889b70c9a4f562e0 (diff)
downloadupstream-902d7e497c3c26c1a7d9c06945746c319866b335.tar.gz
upstream-902d7e497c3c26c1a7d9c06945746c319866b335.tar.bz2
upstream-902d7e497c3c26c1a7d9c06945746c319866b335.zip
ramips: fix patch location
The patch for adding the config_aneg function for the Atheros AR8031/AR8033 PHY was formatted in a way it moved to different PHY models while refreshing patches on kernel updates. Move the diff directly below the PHY name so this won't happen in the future. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-5.4/991-at803x.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/patches-5.4/991-at803x.patch b/target/linux/ramips/patches-5.4/991-at803x.patch
index 29e79e65d7..6e178b80ce 100644
--- a/target/linux/ramips/patches-5.4/991-at803x.patch
+++ b/target/linux/ramips/patches-5.4/991-at803x.patch
@@ -147,11 +147,11 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>
static struct phy_driver at803x_driver[] = {
{
/* ATHEROS 8035 */
-@@ -482,6 +571,7 @@ static struct phy_driver at803x_driver[]
- .suspend = at803x_suspend,
- .resume = at803x_resume,
- /* PHY_GBIT_FEATURES */
+@@ -504,6 +593,7 @@ static struct phy_driver at803x_driver[]
+ /* ATHEROS 8031 */
+ .phy_id = ATH8031_PHY_ID,
+ .name = "Atheros 8031 ethernet",
+ .config_aneg = at803x_config_aneg,
- .read_status = at803x_read_status,
- .ack_interrupt = at803x_ack_interrupt,
- .config_intr = at803x_config_intr,
+ .phy_id_mask = AT803X_PHY_ID_MASK,
+ .probe = at803x_probe,
+ .config_init = at803x_config_init,