aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2022-09-20 12:01:48 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-10-01 02:47:56 +0200
commitba6096d04b4f7a40aec339e7bf3f7b5842ae3cac (patch)
tree5542eb3332cf44995b052240ed32bcf7e9434beb /target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch
parentd5bf46bbe8f425182ea07787ae5d92145715da1b (diff)
downloadupstream-ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac.tar.gz
upstream-ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac.tar.bz2
upstream-ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac.zip
ath79: Convert incorrect 5.10 and 5.15 patches
OpenWRT's developer guide prefers having actual patches so they an be sent upstream more easily. However, in this case, Adding proper fields also allows for `git am` to properly function. Some of these patches are quite old, and lack much traceable history. This commit tries to rectify that, by digging in the history to find where and how it was first added. It is by no means perfect and also shows some patches that should have been long gone. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch')
-rw-r--r--target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch b/target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch
index bf224b5f47..92c64ac9c4 100644
--- a/target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch
+++ b/target/linux/ath79/patches-5.10/425-at803x-allow-sgmii-aneg-override.patch
@@ -1,3 +1,19 @@
+From: David Bauer <mail@david-bauer.net>
+Subject: [PATCH] ath79: allow to override AR8033 SGMII aneg status
+
+In order to make the QCA955x SGMII workaround work, the unsuccessful
+SGMII autonegotiation on the AR8033 should not block the PHY
+state-machine.
+
+Otherwise, the ag71xx driver never becomes aware of the copper-side
+link-establishment and the workaround is never executed.
+
+Submitted-by: David Bauer <mail@david-bauer.net>
+Submitted-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
+---
+ drivers/net/phy/at803x.c-override.patch | 7 +++++++
+ 1 files changed, 7 insertions(+)
+
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -830,6 +830,13 @@ static int at803x_aneg_done(struct phy_d