kernel: package mhi mbim driver
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 5 Apr 2022 13:07:36 +0000 (15:07 +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 d864e4eb3866ea42e4f43280e1a82e1778cd3c87..fa1a9e8caa6c632e48a3756a3d636bcf1987b6db 100644 (file)
@@ -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))