diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2022-09-20 12:01:48 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-01 02:47:56 +0200 |
commit | ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac (patch) | |
tree | 5542eb3332cf44995b052240ed32bcf7e9434beb /target/linux/ath79/patches-5.15/0040-ath79-sgmii-config.patch | |
parent | d5bf46bbe8f425182ea07787ae5d92145715da1b (diff) | |
download | upstream-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.15/0040-ath79-sgmii-config.patch')
-rw-r--r-- | target/linux/ath79/patches-5.15/0040-ath79-sgmii-config.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ath79/patches-5.15/0040-ath79-sgmii-config.patch b/target/linux/ath79/patches-5.15/0040-ath79-sgmii-config.patch index bf7cbf2716..4c2b94899a 100644 --- a/target/linux/ath79/patches-5.15/0040-ath79-sgmii-config.patch +++ b/target/linux/ath79/patches-5.15/0040-ath79-sgmii-config.patch @@ -1,3 +1,24 @@ +From: David Bauer <mail@david-bauer.net> +Subject: [PATCH] ath79: force SGMII SerDes mode to MAC operation + +The mode on the SGMII SerDes on the QCA9563 is 1000 Base-X by default. +This only allows for 1000 Mbit/s links, however when used with an SGMII +PHY in 100 Mbit/s link mode, the link remains dead. + +This strictly has nothing to do with the SerDes calibration, however it +is done at the same point in the QCA reference U-Boot which is the +blueprint for everything happening here. As the current state is more or +less a hack, this should be fine. + +This fixes the issues outlined above on a TP-Link EAP-225 Outdoor. + +Reported-by: Tom Herbers <freifunk@tomherbers.de> +Tested-by: Tom Herbers <freifunk@tomherbers.de> +Submitted-by: David Bauer <mail@david-bauer.net> +--- + arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 1 + + 1 files changed, 1 insertion(+) + --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h @@ -1376,5 +1376,6 @@ |