net: lantiq_etop: remove driver
Subsystems (3)
PATCH 1/1 net: lantiq_etop: remove driver
This driver in mainline lost its in-tree user with commit cd93b4895ea5 ("MIPS: lantiq: drop mips_machine support") in 2012. Since then it has
had no in-tree user. Only user seems to be OpenWRT, with several changes to the in-tree driver version:target/linux/lantiq/patches-6.12/035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch target/linux/lantiq/patches-6.12/028-NET-lantiq-various-etop-fixes.patch target/linux/lantiq/patches-6.12/701-NET-lantiq-etop-of-mido.patch
So it seems the driver is maintained in OpenWrt only, except tree-wide in-tree changes. According to OpenWRT maintainers it would be ok to
remove the driver in mainline and keep it downstream only (see linked conversation).
--- .../include/asm/mach-lantiq/lantiq_platform.h | 18 - drivers/net/ethernet/Kconfig | 6 - drivers/net/ethernet/Makefile | 1 - drivers/net/ethernet/lantiq_etop.c | 745 ------------------ 4 files changed, 770 deletions(-) delete mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_platform.h delete mode 100644 drivers/net/ethernet/lantiq_etop.c
arch/mips/include/asm/mach-lantiq/lantiq_platform.h deleted +0 -18
@@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* -* Copyright (C) 2010 John Crispin <[email protected]> -*/ - -#ifndef _LANTIQ_PLATFORM_H__ -#define _LANTIQ_PLATFORM_H__ - -#include <linux/socket.h> - -/* struct used to pass info to network drivers */ -struct ltq_eth_data { -struct sockaddr mac; -int mii_mode; -}; - -#endif
drivers/net/ethernet/Kconfig +0 -6
@@ -93,12 +93,6 @@ config KORINA If you have a Mikrotik RouterBoard 500 or IDT RC32434 based system say Y. Otherwise say N. -config LANTIQ_ETOP - tristate "Lantiq SoC ETOP driver" - depends on SOC_TYPE_XWAY - help - Support for the MII0 inside the Lantiq SoC - config LANTIQ_XRX200 tristate "Lantiq / Intel xRX200 PMAC network driver" depends on SOC_TYPE_XWAY
drivers/net/ethernet/Makefile +0 -1
@@ -53,7 +53,6 @@ obj-$(CONFIG_NET_VENDOR_MICROSOFT) += microsoft/ obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/ obj-$(CONFIG_JME) += jme.o obj-$(CONFIG_KORINA) += korina.o -obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o obj-$(CONFIG_LANTIQ_XRX200) += lantiq_xrx200.o obj-$(CONFIG_NET_VENDOR_LITEX) += litex/ obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
drivers/net/ethernet/lantiq_etop.c deleted +0 -745
745 lines not on this page · raw message
Signature · 1 line
2.52.0
Quoted 12 lines · Heiner Kallweit
This driver in mainline lost its in-tree user with commit
cd93b4895ea5("MIPS: lantiq: dropmips_machinesupport") in 2012. Since then it has
had no in-tree user. Only user seems to be OpenWRT, with several changes to the in-tree driver version:target/linux/lantiq/patches-6.12/035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patchtarget/linux/lantiq/patches-6.12/028-NET-lantiq-various-etop-fixes.patchtarget/linux/lantiq/patches-6.12/701-NET-lantiq-etop-of-mido.patch
So it seems the driver is maintained in OpenWrt only, except tree-wide in-tree changes. According to OpenWRT maintainers it would be ok to
remove the driver in mainline and keep it downstream only (see linked conversation).
Quoted 3 lines
Signed-off-by Heiner Kallweit <[email protected]>---
Makes sense.
Quoted 52 lines · Heiner Kallweit
This driver in mainline lost its in-tree user with commit
cd93b4895ea5("MIPS: lantiq: dropmips_machinesupport") in 2012. Since then it has
had no in-tree user. Only user seems to be OpenWRT, with several changes to the in-tree driver version:target/linux/lantiq/patches-6.12/035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patchtarget/linux/lantiq/patches-6.12/028-NET-lantiq-various-etop-fixes.patchtarget/linux/lantiq/patches-6.12/701-NET-lantiq-etop-of-mido.patch
So it seems the driver is maintained in OpenWrt only, except tree-wide in-tree changes. According to OpenWRT maintainers it would be ok to
remove the driver in mainline and keep it downstream only (see linked conversation).Signed-off-by Heiner Kallweit <[email protected]>--- .../include/asm/mach-lantiq/lantiq_platform.h | 18 - drivers/net/ethernet/Kconfig | 6 - drivers/net/ethernet/Makefile | 1 - drivers/net/ethernet/lantiq_etop.c | 745 ------------------ 4 files changed, 770 deletions(-) delete mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_platform.h delete mode 100644 drivers/net/ethernet/lantiq_etop.carch/mips/include/asm/mach-lantiq/lantiq_platform.h deleted +0
-18@@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* -* Copyright (C) 2010 John Crispin <[email protected]> -*/ - -#ifndef _LANTIQ_PLATFORM_H__ -#define _LANTIQ_PLATFORM_H__ - -#include <linux/socket.h> - -/* struct used to pass info to network drivers */ -struct ltq_eth_data { -struct sockaddr mac; -int mii_mode; -}; - -#endif drivers/net/ethernet/Kconfig +0
-0
drivers/net/ethernet/Kconfig config KORINA · line 101
Quoted 9 lines
drivers/net/ethernet/Kconfig +0
-6@@ -93,12 +93,6 @@ config KORINA If you have a Mikrotik RouterBoard 500 or IDT RC32434 based system say Y. Otherwise say N. -config LANTIQ_ETOP - tristate "Lantiq SoC ETOP driver" - depends on SOC_TYPE_XWAY - help - Support for the MII0 inside the Lantiq SoC -
AI review complained that setting this config symbol should be removed from arch/mips/configs/xway_defconfig. So I'll submit a v2.
--
pw-bot: cr