Skip to content

Commit 35ea4f0

Browse files
LorenzoBianconikuba-moo
authored andcommitted
net: airoha: Fix lan4 support in airoha_qdma_get_gdm_port()
EN7581 SoC supports lan{1,4} ports on MT7530 DSA switch. Fix lan4 reported value in airoha_qdma_get_gdm_port routine. Fixes: 23020f0 ("net: airoha: Introduce ethernet support for EN7581 SoC") Signed-off-by: Lorenzo Bianconi <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 7acfb68 commit 35ea4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/airoha/airoha_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ static int airoha_qdma_get_gdm_port(struct airoha_eth *eth,
589589

590590
sport = FIELD_GET(QDMA_ETH_RXMSG_SPORT_MASK, msg1);
591591
switch (sport) {
592-
case 0x10 ... 0x13:
592+
case 0x10 ... 0x14:
593593
port = 0;
594594
break;
595595
case 0x2 ... 0x4:

0 commit comments

Comments
 (0)