Commit 21386e6
net: ethernet: mtk_eth_soc: enable special tag when any MAC uses DSA
The special tag is only enabled when the first MAC uses DSA. However, it
must be enabled when any MAC uses DSA. Change the check accordingly.
This fixes hardware DSA untagging not working on the second MAC of the
MT7621 and MT7623 SoCs, and likely other SoCs too. Therefore, remove the
check that disables hardware DSA untagging for the second MAC of the MT7621
and MT7623 SoCs.
Fixes: a1f4775 ("net: ethernet: mtk_eth_soc: disable hardware DSA untagging for second MAC")
Co-developed-by: Richard van Schagen <[email protected]>
Signed-off-by: Richard van Schagen <[email protected]>
Signed-off-by: Arınç ÜNAL <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 9cec2aa commit 21386e6
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3111 | 3111 | | |
3112 | 3112 | | |
3113 | 3113 | | |
3114 | | - | |
| 3114 | + | |
3115 | 3115 | | |
3116 | 3116 | | |
3117 | 3117 | | |
| |||
3177 | 3177 | | |
3178 | 3178 | | |
3179 | 3179 | | |
3180 | | - | |
3181 | | - | |
| 3180 | + | |
3182 | 3181 | | |
3183 | 3182 | | |
3184 | 3183 | | |
| |||
3195 | 3194 | | |
3196 | 3195 | | |
3197 | 3196 | | |
3198 | | - | |
3199 | | - | |
| 3197 | + | |
3200 | 3198 | | |
3201 | 3199 | | |
3202 | 3200 | | |
| |||
0 commit comments