From: Koen Vandeputte Date: Fri, 1 Apr 2022 08:50:46 +0000 (+0200) Subject: kernel: package mhi network driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=de840a5e011debda789ce38d2126f65222494d62;p=openwrt%2Fstaging%2Fthess.git kernel: package mhi network driver Signed-off-by: Koen Vandeputte --- 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))