[openwrt/openwrt] kernel: package mhi network driver

LEDE Commits lede-commits at lists.infradead.org
Tue Apr 5 08:34:51 PDT 2022


xback pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/de840a5e011debda789ce38d2126f65222494d62

commit de840a5e011debda789ce38d2126f65222494d62
Author: Koen Vandeputte <koen.vandeputte at ncentric.com>
AuthorDate: Fri Apr 1 10:50:46 2022 +0200

    kernel: package mhi network driver
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
---
 package/kernel/linux/modules/netdevices.mk | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index c991808aed..539afff475 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1315,3 +1315,18 @@ define KernelPackage/sfc-falcon/description
 endef
 
 $(eval $(call KernelPackage,sfc-falcon))
+
+define KernelPackage/mhi-net
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=MHI Network Device
+  DEPENDS:=@LINUX_5_15 @PCI_SUPPORT +kmod-mhi-bus
+  KCONFIG:=CONFIG_MHI_NET
+  FILES:=$(LINUX_DIR)/drivers/net/mhi_net.ko
+  AUTOLOAD:=$(call AutoProbe,mhi_net)
+endef
+
+define KernelPackage/mhi-net/description
+ Driver for MHI network interface
+endef
+
+$(eval $(call KernelPackage,mhi-net))




More information about the lede-commits mailing list