git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd79a28
)
net: mediatek: correct the AN8855 TPID value in port isolation settings
author
Weijie Gao
<weijie.gao@mediatek.com>
Tue, 8 Jul 2025 10:07:07 +0000
(18:07 +0800)
committer
Tom Rini
<trini@konsulko.com>
Tue, 15 Jul 2025 15:55:34 +0000
(09:55 -0600)
The TPID value should be 0x9100 instead of 0x8100 according to the
datasheet.
Fixes:
cedafee9ff3
(net: mediatek: add support for Airoha AN8855 ethernet switch)
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/net/mtk_eth/an8855.c
patch
|
blob
|
history
diff --git
a/drivers/net/mtk_eth/an8855.c
b/drivers/net/mtk_eth/an8855.c
index
25a98e0
..
a2589a2
100644
(file)
--- a/
drivers/net/mtk_eth/an8855.c
+++ b/
drivers/net/mtk_eth/an8855.c
@@
-909,7
+909,7
@@
static void an8855_port_isolation(struct an8855_switch_priv *priv)
/* Set port mode to user port */
an8855_reg_write(priv, AN8855_PVC(i),
- (0x
8
100 << AN8855_STAG_VPID_S) |
+ (0x
9
100 << AN8855_STAG_VPID_S) |
(VLAN_ATTR_USER << AN8855_VLAN_ATTR_S));
}
}