On 1/29/2026 6:18 PM, Heiner Kallweit wrote:
> 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).
>
> Signed-off-by: Heiner Kallweit <[email protected]>
> Link:
> https://lore.kernel.org/netdev/[email protected]/T/#t
> ---
> .../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
>
> diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
> b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
> deleted file mode 100644
> index 70ebb4d6f05..00000000000
> --- a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
> +++ /dev/null
> @@ -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
> diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
> index aa7103e7f47..9775fd401b0 100644
> --- a/drivers/net/ethernet/Kconfig
> +++ b/drivers/net/ethernet/Kconfig
> @@ -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
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel