summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacky Chou <jacky_chou@aspeedtech.com>2024-10-18 13:33:31 +0800
committerAndrew Lunn <andrew@lunn.ch>2024-10-20 11:06:48 -0500
commit906c68657850796023a8b183d1ca681ebbd6ef98 (patch)
tree158f80d9b3ddb062dba9cd20200fcd64992c84ad
parent9e2ffec543b088b4c7dc24a40438cbd3426fb71c (diff)
downloadlwn-906c68657850796023a8b183d1ca681ebbd6ef98.tar.gz
lwn-906c68657850796023a8b183d1ca681ebbd6ef98.zip
net: ftgmac100: correct the phy interface of NC-SI mode
In NC-SI specification, NC-SI is using RMII, not MII. Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Message-ID: <20241018053331.1900100-1-jacky_chou@aspeedtech.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
-rw-r--r--drivers/net/ethernet/faraday/ftgmac100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c
index e64a90a91dd4..10c1a2f11000 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;