mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	kernel: fix missing mhi control devices
Both of these packages depend on CONFIG_WWAN in the kernel. Also fix the missing "wwan" subfolder in the path. This fixes the missing devices in /dev after booting an MHI capable modem. Fixes:2519190fec("kernel: package mhi wwan ctrl driver") Fixes:6af46796fa("kernel: package mhi mbim driver") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
This commit is contained in:
		
							parent
							
								
									8b804cae5e
								
							
						
					
					
						commit
						a5da8e6ecd
					
				@ -1380,8 +1380,9 @@ define KernelPackage/mhi-wwan-ctrl
 | 
			
		||||
  SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
			
		||||
  TITLE:=MHI WWAN Control
 | 
			
		||||
  DEPENDS:=@LINUX_5_15 @PCI_SUPPORT +kmod-mhi-bus
 | 
			
		||||
  KCONFIG:=CONFIG_MHI_WWAN_CTRL
 | 
			
		||||
  FILES:=$(LINUX_DIR)/drivers/net/mhi_wwan_ctrl.ko
 | 
			
		||||
  KCONFIG:=CONFIG_MHI_WWAN_CTRL \
 | 
			
		||||
	CONFIG_WWAN=y
 | 
			
		||||
  FILES:=$(LINUX_DIR)/drivers/net/wwan/mhi_wwan_ctrl.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoProbe,mhi_wwan_ctrl)
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
@ -1396,8 +1397,9 @@ 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
 | 
			
		||||
  KCONFIG:=CONFIG_MHI_WWAN_MBIM \
 | 
			
		||||
	CONFIG_WWAN=y
 | 
			
		||||
  FILES:=$(LINUX_DIR)/drivers/net/wwan/mhi_wwan_mbim.ko
 | 
			
		||||
  AUTOLOAD:=$(call AutoProbe,mhi_wwan_mbim)
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user