mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-11-03 20:07:59 +00:00 
			
		
		
		
	Upgrade to 5018 ath11k 12.0 wireless driver + kernel 5.4 Fixes: WIFI-13038 Signed-off-by: Ken <xshi@actiontec.com>
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 5da6b1fb680c9a0315cb810be2d7bd6745d51883 Mon Sep 17 00:00:00 2001
 | 
						|
From: Ken <xshi@actiontec.com>
 | 
						|
Date: Tue, 17 Oct 2023 11:01:25 +0800
 | 
						|
Subject: [PATCH] [Patch] Add RTL8367C/S switch compile option
 | 
						|
 | 
						|
---
 | 
						|
 package/kernel/linux/modules/netdevices.mk | 18 +++++++++++++++++-
 | 
						|
 1 file changed, 17 insertions(+), 1 deletion(-)
 | 
						|
 | 
						|
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
 | 
						|
index b8f2466cb4..1905e79a4f 100644
 | 
						|
--- a/package/kernel/linux/modules/netdevices.mk
 | 
						|
+++ b/package/kernel/linux/modules/netdevices.mk
 | 
						|
@@ -7,6 +7,22 @@
 | 
						|
 
 | 
						|
 NETWORK_DEVICES_MENU:=Network Devices
 | 
						|
 
 | 
						|
+define KernelPackage/switch-rtl8367c
 | 
						|
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
						|
+  TITLE:=Realtek RTL8367C/S switch support
 | 
						|
+  DEPENDS:=+kmod-switch-rtl8366-smi
 | 
						|
+  KCONFIG:=CONFIG_RTL8367C_PHY=y
 | 
						|
+  FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367c.ko
 | 
						|
+  AUTOLOAD:=$(call AutoLoad,43,rtl8367c,1)
 | 
						|
+endef
 | 
						|
+
 | 
						|
+define KernelPackage/switch-rtl8367c/description
 | 
						|
+ Realtek RTL8367C/S switch support
 | 
						|
+endef
 | 
						|
+
 | 
						|
+$(eval $(call KernelPackage,switch-rtl8367c))
 | 
						|
+
 | 
						|
+
 | 
						|
 define KernelPackage/sis190
 | 
						|
   SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
						|
   TITLE:=SiS 190 Fast/Gigabit Ethernet support
 | 
						|
@@ -456,7 +472,7 @@ define KernelPackage/switch-rtl8366-smi
 | 
						|
   SUBMENU:=$(NETWORK_DEVICES_MENU)
 | 
						|
   TITLE:=Realtek RTL8366 SMI switch interface support
 | 
						|
   DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armsr||TARGET_bcm27xx_bcm2708||TARGET_malta||TARGET_tegra):kmod-of-mdio
 | 
						|
-  KCONFIG:=CONFIG_RTL8366_SMI
 | 
						|
+  KCONFIG:=CONFIG_RTL8366_SMI=y
 | 
						|
   FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
 | 
						|
   AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi,1)
 | 
						|
 endef
 | 
						|
-- 
 | 
						|
2.34.1
 | 
						|
 |