kernel: package mhi network driver
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Fri, 1 Apr 2022 08:50:46 +0000 (10:50 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 5 Apr 2022 15:31:04 +0000 (17:31 +0200)
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
package/kernel/linux/modules/netdevices.mk

index c991808aed28b1421e7b0b0964d8ad0730d0c257..539afff47584e5405b4ee6d28a3c6874997958b4 100644 (file)
@@ -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))