Skip to content

Commit

Permalink
net: dsa: mt7530: remove now incorrect comment regarding port 5
Browse files Browse the repository at this point in the history
Remove now incorrect comment regarding port 5 as GMAC5. This is supposed to
be supported since commit 38f790a ("net: dsa: mt7530: Add support for
port 5") under mt7530_setup_port5().

Fixes: 38f790a ("net: dsa: mt7530: Add support for port 5")
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20230310073338.5836-1-arinc.unal@arinc9.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Arınç ÜNAL authored and Jakub Kicinski committed Mar 14, 2023
1 parent 1a9dc56 commit feb03fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/dsa/mt7530.c
Original file line number Diff line number Diff line change
Expand Up @@ -2201,7 +2201,7 @@ mt7530_setup(struct dsa_switch *ds)

mt7530_pll_setup(priv);

/* Enable Port 6 only; P5 as GMAC5 which currently is not supported */
/* Enable port 6 */
val = mt7530_read(priv, MT7530_MHWTRAP);
val &= ~MHWTRAP_P6_DIS & ~MHWTRAP_PHY_ACCESS;
val |= MHWTRAP_MANUAL;
Expand Down

0 comments on commit feb03fd

Please sign in to comment.