[openwrt/openwrt] ath79: add missing patch for kernel 5.10
LEDE Commits
lede-commits at lists.infradead.org
Mon Apr 12 23:40:46 BST 2021
blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1f831927ee4c71057f4997f615d0f45f074c592c
commit 1f831927ee4c71057f4997f615d0f45f074c592c
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Tue Apr 13 00:37:29 2021 +0200
ath79: add missing patch for kernel 5.10
When adding the patch for the missing register, the patch file for the
testing kernel 5.10 was not included.
Fixes commit fbbad9a9a629 ("ath79: force SGMII SerDes
mode to MAC operation")
Signed-off-by: David Bauer <mail at david-bauer.net>
---
target/linux/ath79/patches-5.10/0040-ath79-sgmii-config.patch | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/target/linux/ath79/patches-5.10/0040-ath79-sgmii-config.patch b/target/linux/ath79/patches-5.10/0040-ath79-sgmii-config.patch
new file mode 100644
index 0000000000..bf7cbf2716
--- /dev/null
+++ b/target/linux/ath79/patches-5.10/0040-ath79-sgmii-config.patch
@@ -0,0 +1,9 @@
+--- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
++++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
+@@ -1376,5 +1376,6 @@
+
+ #define QCA956X_SGMII_CONFIG_MODE_CTRL_SHIFT 0
+ #define QCA956X_SGMII_CONFIG_MODE_CTRL_MASK 0x7
++#define QCA956X_SGMII_CONFIG_MODE_CTRL_SGMII_MAC 0x2
+
+ #endif /* __ASM_MACH_AR71XX_REGS_H */
More information about the lede-commits
mailing list