Skip to content

Commit 906c686

Browse files
aspeedJackylunn
authored andcommitted
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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Message-ID: <[email protected]> Signed-off-by: Andrew Lunn <[email protected]>
1 parent 9e2ffec commit 906c686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/faraday/ftgmac100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,7 @@ static int ftgmac100_probe(struct platform_device *pdev)
19131913
goto err_phy_connect;
19141914
}
19151915
err = phy_connect_direct(netdev, phydev, ftgmac100_adjust_link,
1916-
PHY_INTERFACE_MODE_MII);
1916+
PHY_INTERFACE_MODE_RMII);
19171917
if (err) {
19181918
dev_err(&pdev->dev, "Connecting PHY failed\n");
19191919
goto err_phy_connect;

0 commit comments

Comments
 (0)