]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: ftgmac100: Get link speed and duplex for NC-SI
authorJacky Chou <jacky_chou@aspeedtech.com>
Tue, 27 Aug 2024 03:05:13 +0000 (11:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Aug 2024 00:15:23 +0000 (17:15 -0700)
commite24a6c874601efb3de6e535895dd8e4f56fa98f1
treea976bc48a31c80af9c2f6e4c78f788f9b4363aa7
parent59a0ad4f03888c22c64e7bfe7e7b2efd4c317303
net: ftgmac100: Get link speed and duplex for NC-SI

The ethtool of this driver uses the phy API of ethtool
to get the link information from PHY driver.
Because the NC-SI is forced on 100Mbps and full duplex,
the driver connect a fixed-link phy driver for NC-SI.
The ethtool will get the link information from the
fixed-link phy driver.

Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20240827030513.481469-1-jacky_chou@aspeedtech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/faraday/ftgmac100.c