[openwrt/openwrt] kernel: add Microchip ENC28J60 SPI Ethernet controller module
LEDE Commits
lede-commits at lists.infradead.org
Tue Jun 10 04:21:29 PDT 2025
noltari pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4987239913794811b8ac71ff141129e276565d6b
commit 4987239913794811b8ac71ff141129e276565d6b
Author: Albrecht Lohofener <albrechtloh at gmx.de>
AuthorDate: Mon Jun 9 07:48:32 2025 +0200
kernel: add Microchip ENC28J60 SPI Ethernet controller module
The ENC28J60 is a 10 Mbps half-duplex Ethernet controller interfaced via SPI.
It achieves real-world bandwidth up to 5Mbit/s on devices like the RPi Zero due
to SPI limits.
Commonly used with Raspberry Pi Zero boards for wired network connectivity.
Signed-off-by: Albrecht Lohofener <albrechtloh at gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19048
Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index ca0d33be78..b40345d213 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -2125,3 +2125,19 @@ define KernelPackage/amazon-ena/description
endef
$(eval $(call KernelPackage,amazon-ena))
+
+define KernelPackage/enc28j60
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Microchip ENC28J60 SPI Ethernet driver
+ KCONFIG:=\
+ CONFIG_ENC28J60 \
+ CONFIG_ENC28J60_WRITEVERIFY=n
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/microchip/enc28j60.ko
+ AUTOLOAD:=$(call AutoProbe,enc28j60)
+endef
+
+define KernelPackage/enc28j60/description
+ Kernel module for Microchip ENC28J60 SPI Ethernet controller
+endef
+
+$(eval $(call KernelPackage,enc28j60))
More information about the lede-commits
mailing list