Introduce EN7581 SoC support with currently rfb board supported. This is a new 64bit SoC from Airoha that is currently almost fully supported upstream with only the DTS missing. Setting source-only waiting for the full upstream support to be completed. Link: https://github.com/openwrt/openwrt/pull/16730 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 39a9c25bcdfb5e88995841c47439b74cac74a527 Mon Sep 17 00:00:00 2001
 | 
						|
From: Lorenzo Bianconi <lorenzo@kernel.org>
 | 
						|
Date: Fri, 19 Jul 2024 22:38:31 +0200
 | 
						|
Subject: [PATCH] net: airoha: Fix MBI_RX_AGE_SEL_MASK definition
 | 
						|
 | 
						|
Fix copy-paste error in MBI_RX_AGE_SEL_MASK macro definition
 | 
						|
 | 
						|
Fixes: 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC")
 | 
						|
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
 | 
						|
Reviewed-by: Simon Horman <horms@kernel.org>
 | 
						|
Link: https://patch.msgid.link/d27d0465be1bff3369e886e5f10c4d37fefc4934.1721419930.git.lorenzo@kernel.org
 | 
						|
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
 | 
						|
---
 | 
						|
 drivers/net/ethernet/mediatek/airoha_eth.c | 2 +-
 | 
						|
 1 file changed, 1 insertion(+), 1 deletion(-)
 | 
						|
 | 
						|
--- a/drivers/net/ethernet/mediatek/airoha_eth.c
 | 
						|
+++ b/drivers/net/ethernet/mediatek/airoha_eth.c
 | 
						|
@@ -249,7 +249,7 @@
 | 
						|
 #define REG_FE_GDM_RX_ETH_L1023_CNT_H(_n)	(GDM_BASE(_n) + 0x2fc)
 | 
						|
 
 | 
						|
 #define REG_GDM2_CHN_RLS		(GDM2_BASE + 0x20)
 | 
						|
-#define MBI_RX_AGE_SEL_MASK		GENMASK(18, 17)
 | 
						|
+#define MBI_RX_AGE_SEL_MASK		GENMASK(26, 25)
 | 
						|
 #define MBI_TX_AGE_SEL_MASK		GENMASK(18, 17)
 | 
						|
 
 | 
						|
 #define REG_GDM3_FWD_CFG		GDM3_BASE
 |