Skip to contentSkip to conversation

net: lantiq_etop: remove driver

PATCH Superseded Heiner Kallweit 2 participants 3 messages Jan 29 – Jan 30

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Heiner Kallweit

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

Quoted 3 lines

---

Makes sense.

#2 lore raw
In reply to Heiner Kallweit
Quoted 52 lines · Heiner Kallweit

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
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 -0
index aa7103e7f47..9775fd401b0 100644

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