]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: dsa: mt7530: remove now incorrect comment regarding port 5
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 10 Mar 2023 07:33:37 +0000 (10:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:45 +0000 (13:33 +0100)
[ Upstream commit c0d8ec05d78d911d184017ed3b8095196ce3c579 ]

Remove now incorrect comment regarding port 5 as GMAC5. This is supposed to
be supported since commit 347b5aa9eb37 ("net: dsa: mt7530: Add support for
port 5") under mt7530_setup_port5().

Fixes: 347b5aa9eb37 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/mt7530.c

index 1e0b8bcd59e6c6d7ba560e23baefa2e9ee4b66e0..4306782bf2257ce564d319467ae547b82ff2a5c7 100644 (file)
@@ -2206,7 +2206,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;