Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jacky Chou and committed by
Andrew Lunn
906c6865 9e2ffec5

+1 -1
+1 -1
drivers/net/ethernet/faraday/ftgmac100.c
··· 1913 1913 goto err_phy_connect; 1914 1914 } 1915 1915 err = phy_connect_direct(netdev, phydev, ftgmac100_adjust_link, 1916 - PHY_INTERFACE_MODE_MII); 1916 + PHY_INTERFACE_MODE_RMII); 1917 1917 if (err) { 1918 1918 dev_err(&pdev->dev, "Connecting PHY failed\n"); 1919 1919 goto err_phy_connect;