Skip to contentSkip to conversation

net: lantiq_etop: remove driver

PATCH In review Heiner Kallweit 2 participants 3 messages Jan 30 – Feb 3

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 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).

---
v2:
- remove CONFIG_LANTIQ_ETOP from arch/mips/configs/xway_defconfig

---
 arch/mips/configs/xway_defconfig              |   1 -
 .../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 ------------------
 5 files changed, 771 deletions(-)
 delete mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_platform.h
 delete mode 100644 drivers/net/ethernet/lantiq_etop.c
arch/mips/configs/xway_defconfig +0 -1
index aae8497b687..450beee3b4a 100644
@@ -82,7 +82,6 @@ CONFIG_EEPROM_93CX6=m
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_NETDEVICES=y
-CONFIG_LANTIQ_ETOP=y
 # CONFIG_NET_VENDOR_WIZNET is not set
 CONFIG_PHYLIB=y
 CONFIG_INTEL_XWAY_PHY=y
arch/mips/include/asm/mach-lantiq/lantiq_platform.h deleted +0 -18
deleted file mode 100644
index 70ebb4d6f05..00000000000
@@ -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
index aa7103e7f47..9775fd401b0 100644
@@ -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
index 6615a67a63d..743ec1b7e5f 100644
@@ -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
maintainer
#1 lore raw
Quoted 8 lines · On Fri, 30 Jan 2026 17:40:49 +0100 Heiner Kallweit wrote:
 arch/mips/configs/xway_defconfig              |   1 -
 .../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 ------------------
 5 files changed, 771 deletions(-)
 delete mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_platform.h
 delete mode 100644 drivers/net/ethernet/lantiq_etop.c

Also Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml ? and arch/mips/boot/dts/lantiq/danube_easy50712.dts but that needs to go via the MIPS tree

Signature · 1 line
pw-bot: cr
#2 lore raw
Quoted 10 lines · Jakub Kicinski
Quoted 8 lines · On Fri, 30 Jan 2026 17:40:49 +0100 Heiner Kallweit wrote:
 arch/mips/configs/xway_defconfig              |   1 -
 .../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 ------------------
 5 files changed, 771 deletions(-)
 delete mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_platform.h
 delete mode 100644 drivers/net/ethernet/lantiq_etop.c
Quoted 3 lines

Also Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml ? and arch/mips/boot/dts/lantiq/danube_easy50712.dts but that needs to go via the MIPS tree

Right. The mainline version of lantiq_etop doesn't support OF, support for OF and the compatible lantiq,etop-xway is added only by downstream patches in OpenWRT.