mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
f7d0a4797f
Backport commits adding support for the MT7988 built-in switch to the
mt7530 driver.
This change results in the Kconfig symbol NET_DSA_MT7530 to be extended
by NET_DSA_MT7530_MDIO (everything formally covered by NET_DSA_MT7530)
and NET_DSA_MT7530_MMIO (a new driver for the MMIO-connected built-in
switch of the MT7988 SoC).
Select NET_DSA_MT7530_MDIO for all targets previously selecting
NET_DSA_MT7530, with the exception of mediatek/filogic which also
selects NET_DSA_MT7530_MMIO.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 958fdf36e3
)
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
|
|
@@ -85,6 +85,8 @@ source "drivers/net/dsa/sja1105/Kconfig"
|
|
|
|
source "drivers/net/dsa/xrs700x/Kconfig"
|
|
|
|
+source "drivers/net/dsa/rtl83xx/Kconfig"
|
|
+
|
|
config NET_DSA_REALTEK_SMI
|
|
tristate "Realtek SMI Ethernet switch family support"
|
|
select NET_DSA_TAG_RTL4_A
|
|
--- a/drivers/net/dsa/Makefile
|
|
+++ b/drivers/net/dsa/Makefile
|
|
@@ -24,5 +24,6 @@ obj-y += microchip/
|
|
obj-y += mv88e6xxx/
|
|
obj-y += ocelot/
|
|
obj-y += qca/
|
|
+obj-y += rtl83xx/
|
|
obj-y += sja1105/
|
|
obj-y += xrs700x/
|