aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-14 12:01:31 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-21 15:46:54 +0200
commit734a8c46e7037075d712e3d3844467672d0f91c9 (patch)
treee97e1fbd5bcb94a54f53f27e82c5fa1a2154fc63 /target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig
parent373d4cc3605196c93cee18cfcfbd70f80c87cf8c (diff)
downloadupstream-734a8c46e7037075d712e3d3844467672d0f91c9.tar.gz
upstream-734a8c46e7037075d712e3d3844467672d0f91c9.tar.bz2
upstream-734a8c46e7037075d712e3d3844467672d0f91c9.zip
ramips: remove legacy ethernet driver components for mt7621
The mt7621 subtarget has been switched to DSA quite a while ago and seems to run sufficiently fine. Build with older kernels than 5.4 has been disabled directly during the kernel bump, so our local ethernet driver is unused in master since then. Therefore, let's remove the mt7621-specific parts of "our" ethernet driver, so we don't have to maintain them and it's obvious to everybody that they are not used anymore. This also drops the offloading components as this was specifically implemented to depend on mt7621. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig')
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig16
1 files changed, 2 insertions, 14 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig b/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig
index 51cace5333..26e5e6d73e 100644
--- a/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig
+++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/Kconfig
@@ -27,23 +27,15 @@ config NET_RALINK_MT7620
bool "MT7620"
depends on MIPS && SOC_MT7620
-config NET_RALINK_MT7621
- bool "MT7621"
- depends on MIPS && SOC_MT7621
-
endchoice
-config NET_RALINK_OFFLOAD
- def_bool NET_RALINK_SOC
- depends on NET_RALINK_MT7621
-
config NET_RALINK_HW_QOS
def_bool NET_RALINK_SOC
depends on NET_RALINK_MT7623
config NET_RALINK_MDIO
def_bool NET_RALINK_SOC
- depends on (NET_RALINK_RT2880 || NET_RALINK_RT3883 || NET_RALINK_MT7620 || NET_RALINK_MT7621)
+ depends on (NET_RALINK_RT2880 || NET_RALINK_RT3883 || NET_RALINK_MT7620)
select PHYLIB
config NET_RALINK_MDIO_RT2880
@@ -53,7 +45,7 @@ config NET_RALINK_MDIO_RT2880
config NET_RALINK_MDIO_MT7620
def_bool NET_RALINK_SOC
- depends on (NET_RALINK_MT7620 || NET_RALINK_MT7621)
+ depends on NET_RALINK_MT7620
select NET_RALINK_MDIO
config NET_RALINK_ESW_RT3050
@@ -63,8 +55,4 @@ config NET_RALINK_ESW_RT3050
config NET_RALINK_GSW_MT7620
def_tristate NET_RALINK_SOC
depends on NET_RALINK_MT7620
-
-config NET_RALINK_GSW_MT7621
- def_tristate NET_RALINK_SOC
- depends on NET_RALINK_MT7621
endif