aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/netdevices.mk
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2022-04-01 10:50:46 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2022-04-05 17:31:04 +0200
commitde840a5e011debda789ce38d2126f65222494d62 (patch)
treeed40df11ee315a5b997e638f8eb01a34627aeb97 /package/kernel/linux/modules/netdevices.mk
parent8da3de825a90405351519c3a886959aac42c8364 (diff)
downloadupstream-de840a5e011debda789ce38d2126f65222494d62.tar.gz
upstream-de840a5e011debda789ce38d2126f65222494d62.tar.bz2
upstream-de840a5e011debda789ce38d2126f65222494d62.zip
kernel: package mhi network driver
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r--package/kernel/linux/modules/netdevices.mk15
1 files changed, 15 insertions, 0 deletions
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))