From: Koen Vandeputte Date: Tue, 5 Apr 2022 13:07:36 +0000 (+0200) Subject: kernel: package mhi mbim driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6af46796faf9f3b5f4537e35ec97be20fc30a65e;p=openwrt%2Fstaging%2Frobimarko.git kernel: package mhi mbim driver Signed-off-by: Koen Vandeputte --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index d864e4eb38..fa1a9e8caa 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1346,3 +1346,19 @@ define KernelPackage/mhi-wwan-ctrl/description endef $(eval $(call KernelPackage,mhi-wwan-ctrl)) + +define KernelPackage/mhi-wwan-mbim + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=MHI MBIM + DEPENDS:=@LINUX_5_15 @PCI_SUPPORT +kmod-mhi-bus + KCONFIG:=CONFIG_MHI_WWAN_MBIM + FILES:=$(LINUX_DIR)/drivers/net/mhi_wwan_mbim.ko + AUTOLOAD:=$(call AutoProbe,mhi_wwan_mbim) +endef + +define KernelPackage/mhi-wwan-mbim/description + Driver for MHI MBIM + This implements MBIM over MHI +endef + +$(eval $(call KernelPackage,mhi-wwan-mbim))