Skip to contentSkip to conversation

net: ethernet: dnet: remove driver

PATCH Applied Heiner Kallweit 3 participants 3 messages Jan 12 – Jan 16

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

PATCH v2 1/1 net: ethernet: dnet: remove driver

This legacy platform driver was used with some Qong board. Support for this board was removed with e731f3146ff3 ("Merge tag 'armsoc-soc' of
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") in 2020. So remove this now orphaned driver.

---
v2:
- remove related config in arch/mips/configs/ip27_defconfig

---
 arch/mips/configs/ip27_defconfig |   1 -
 drivers/net/ethernet/Kconfig     |  12 -
 drivers/net/ethernet/Makefile    |   1 -
 drivers/net/ethernet/dnet.c      | 877 -------------------------------
 drivers/net/ethernet/dnet.h      | 220 --------
 5 files changed, 1111 deletions(-)
 delete mode 100644 drivers/net/ethernet/dnet.c
 delete mode 100644 drivers/net/ethernet/dnet.h
arch/mips/configs/ip27_defconfig +0 -1
index 1c10242b148..fea0ccee694 100644
@@ -143,7 +143,6 @@ CONFIG_ATL1C=m
 CONFIG_B44=m
 CONFIG_BNX2X=m
 CONFIG_ENIC=m
-CONFIG_DNET=m
 CONFIG_BE2NET=m
 CONFIG_E1000E=m
 CONFIG_IGB=m
drivers/net/ethernet/Kconfig +0 -12
index 4a1b368ca7e..678beefe314 100644
@@ -55,18 +55,6 @@ source "drivers/net/ethernet/cirrus/Kconfig"
 source "drivers/net/ethernet/cisco/Kconfig"
 source "drivers/net/ethernet/cortina/Kconfig"
 source "drivers/net/ethernet/davicom/Kconfig"
-
-config DNET
-	tristate "Dave ethernet support (DNET)"
-	depends on HAS_IOMEM
-	select PHYLIB
-	help
-	  The Dave ethernet interface (DNET) is found on Qong Board FPGA.
-	  Say Y to include support for the DNET chip.
-
-	  To compile this driver as a module, choose M here: the module
-	  will be called dnet.
-
 source "drivers/net/ethernet/dec/Kconfig"
 source "drivers/net/ethernet/dlink/Kconfig"
 source "drivers/net/ethernet/emulex/Kconfig"
drivers/net/ethernet/Makefile +0 -1
index 2e18df8ca8e..c9922628d8d 100644
@@ -34,7 +34,6 @@ obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
 obj-$(CONFIG_NET_VENDOR_CORTINA) += cortina/
 obj-$(CONFIG_CX_ECAT) += ec_bhf.o
 obj-$(CONFIG_DM9000) += davicom/
-obj-$(CONFIG_DNET) += dnet.o
 obj-$(CONFIG_NET_VENDOR_DEC) += dec/
 obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
 obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
drivers/net/ethernet/dnet.c deleted +0 -877

877 lines not on this page · raw message

drivers/net/ethernet/dnet.h deleted +0 -220

220 lines not on this page · raw message

Signature · 1 line
2.52.0
reviewer Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Heiner Kallweit

This legacy platform driver was used with some Qong board. Support for this board was removed with e731f3146ff3 ("Merge tag 'armsoc-soc' of
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") in 2020. So remove this now orphaned driver.

---
v2:
- remove related config in arch/mips/configs/ip27_defconfig

Thanks,

It's nice to get rid of unused code.

I might have cited commit c93197b0041d ("ARM: imx: Remove i.MX31 board files"). But that notwithstanding this looks good to me.

#2 lore raw
In reply to Heiner Kallweit
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 12 Jan 2026 21:11:04 +0100 you wrote:

This legacy platform driver was used with some Qong board. Support for this board was removed with e731f3146ff3 ("Merge tag 'armsoc-soc' of
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") in 2020. So remove this now orphaned driver.

[...]

Here is the summary with links:
- [v2,net-next] net: ethernet: dnet: remove driver

    https://git.kernel.org/netdev/net-next/c/2c297957912b

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html