[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1pVXJK-00CTAl-V7@rmk-PC.armlinux.org.uk>
Date: Fri, 24 Feb 2023 12:36:26 +0000
From: "Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
To: Daniel Golle <daniel@...rotopia.org>,
Daniel Golle <daniel@...rotopia.org>
Cc: Felix Fietkau <nbd@....name>, John Crispin <john@...ozen.org>,
Sean Wang <sean.wang@...iatek.com>,
Mark Lee <Mark-MC.Lee@...iatek.com>,
Lorenzo Bianconi <lorenzo@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: [PATCH RFC net-next 4/4] net: mtk_eth_soc: note interface modes not
set in supported_interfaces
Signed-off-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
---
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index f78810717f66..280490942fa4 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -530,9 +530,11 @@ static void mtk_mac_config(struct phylink_config *config, unsigned int mode,
case PHY_INTERFACE_MODE_GMII:
ge_mode = 1;
break;
+ /* FIXME: RMII is not set in the phylink capabilities */
case PHY_INTERFACE_MODE_REVMII:
ge_mode = 2;
break;
+ /* FIXME: RMII is not set in the phylink capabilities */
case PHY_INTERFACE_MODE_RMII:
if (mac->id)
goto err_phy;
--
2.30.2
Powered by blists - more mailing lists