Skip to contentSkip to conversation

net: ftgmac100: corrcet the phy interface of NC-SI mode

net-next Jacky Chou 2 participants 3 messages Oct 15, 2024 Network drivers

lore
Share & tools
lore

Jacky Chou

author
#0 lore raw

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

---
 drivers/net/ethernet/faraday/ftgmac100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/faraday/ftgmac100.c +1 -1
index e64a90a91dd4..10c1a2f11000 100644
@@ -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;
Signature · 1 line
2.25.1
#1 lore raw

Hello,

no idea about the patch content, just noticed a typo:
$Subject ~= s/corrcet/correct/;

But maybe that's only a joke I didn't understand.

Best regards
Uwe

author
#2 lore raw

Hi Uwe,

Thanks for your friendly reminder.
I am sorry it was a typo.
I will correct it on next version.

Thanks,
Jacky