projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7acfb68
)
net: airoha: Fix lan4 support in airoha_qdma_get_gdm_port()
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Tue, 4 Mar 2025 14:38:05 +0000
(15:38 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 7 Mar 2025 00:44:25 +0000
(16:44 -0800)
EN7581 SoC supports lan{1,4} ports on MT7530 DSA switch. Fix lan4
reported value in airoha_qdma_get_gdm_port routine.
Fixes:
23020f0493270
("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/20250304-airoha-eth-fix-lan4-v1-1-832417da4bb5@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/airoha/airoha_eth.c
b/drivers/net/ethernet/airoha/airoha_eth.c
index
f3a6187
..
347c11b
100644
(file)
--- a/
drivers/net/ethernet/airoha/airoha_eth.c
+++ b/
drivers/net/ethernet/airoha/airoha_eth.c
@@
-589,7
+589,7
@@
static int airoha_qdma_get_gdm_port(struct airoha_eth *eth,
sport = FIELD_GET(QDMA_ETH_RXMSG_SPORT_MASK, msg1);
switch (sport) {
- case 0x10 ... 0x1
3
:
+ case 0x10 ... 0x1
4
:
port = 0;
break;
case 0x2 ... 0x4: