mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [net] net: ftgmac100: corrcet the phy interface of NC-SI mode
@ 2024-10-11  8:28 Jacky Chou
  2024-10-12 18:29 ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Jacky Chou @ 2024-10-11  8:28 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, jacky_chou, jacob.e.keller,
	netdev, linux-kernel

In NC-SI specification, NC-SI is using RMII, not MII.

Fixes: e24a6c874601 ("net: ftgmac100: Get link speed and duplex for NC-SI")
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
---
 drivers/net/ethernet/faraday/ftgmac100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c
index ae0235a7a74e..85fea13b2879 100644
--- a/drivers/net/ethernet/faraday/ftgmac100.c
+++ b/drivers/net/ethernet/faraday/ftgmac100.c
@@ -1913,7 +1913,7 @@ static int ftgmac100_probe(struct platform_device *pdev)
 			goto err_phy_connect;
 		}
 		err = phy_connect_direct(netdev, phydev, ftgmac100_adjust_link,
-					 PHY_INTERFACE_MODE_MII);
+					 PHY_INTERFACE_MODE_RMII);
 		if (err) {
 			dev_err(&pdev->dev, "Connecting PHY failed\n");
 			goto err_phy_connect;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-14 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-11  8:28 [net] net: ftgmac100: corrcet the phy interface of NC-SI mode Jacky Chou
2024-10-12 18:29 ` Andrew Lunn
2024-10-14  2:23   ` 回覆: " Jacky Chou
2024-10-14 13:22     ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®