mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-15 17:12:10 -05:00
Converts the KS8995 "phy" driver to a proper DSA switch. Currently the upstream only supports the "none" tag but this is a good improvement already. Make the old module depend on kernel 6.6 and the new one depend on !6.6. The Realtek RTL8261n patch needs to be refreshed because of textual dependencies. Realtek RTL838x DSA and phy patches also have textual dependencies and need to be refreshed. The Mediatek in-flight DSA patch and related patches also need to be rebased and refreshed. Link: https://github.com/openwrt/openwrt/pull/19970 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Thu, 26 Nov 2020 12:02:21 +0100
|
|
Subject: net: dsa: Add support for rtl838x switch
|
|
|
|
* rename the target to realtek
|
|
* add refactored DSA driver
|
|
* add latest gpio driver
|
|
* lots of arch cleanups
|
|
* new irq driver
|
|
* additional boards
|
|
|
|
Submitted-by: Bert Vermeulen <bert@biot.com>
|
|
Submitted-by: Birger Koblitz <mail@birger-koblitz.de>
|
|
Submitted-by: Sander Vanheule <sander@svanheule.net>
|
|
Submitted-by: Bjørn Mork <bjorn@mork.no>
|
|
Submitted-by: John Crispin <john@phrozen.org>
|
|
---
|
|
drivers/net/dsa/rtl83xx/Kconfig | 2 ++
|
|
drivers/net/dsa/rtl83xx/Makefile | 1 +
|
|
2 files changed, 3 insertions(+)
|
|
|
|
--- a/drivers/net/dsa/Kconfig
|
|
+++ b/drivers/net/dsa/Kconfig
|
|
@@ -89,6 +89,8 @@ source "drivers/net/dsa/xrs700x/Kconfig"
|
|
|
|
source "drivers/net/dsa/realtek/Kconfig"
|
|
|
|
+source "drivers/net/dsa/rtl83xx/Kconfig"
|
|
+
|
|
config NET_DSA_RZN1_A5PSW
|
|
tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
|
|
depends on OF && ARCH_RZN1
|
|
--- a/drivers/net/dsa/Makefile
|
|
+++ b/drivers/net/dsa/Makefile
|
|
@@ -25,5 +25,6 @@ obj-y += mv88e6xxx/
|
|
obj-y += ocelot/
|
|
obj-y += qca/
|
|
obj-y += realtek/
|
|
+obj-y += rtl83xx/
|
|
obj-y += sja1105/
|
|
obj-y += xrs700x/
|