linux-yocto/drivers/net/ethernet/faraday
Jacky Chou 70a0da8c11 net: ftgmac100: fixed not check status from fixed phy
Add error handling from calling fixed_phy_register.
It may return some error, therefore, need to check the status.

And fixed_phy_register needs to bind a device node for mdio.
Add the mac device node for fixed_phy_register function.
This is a reference to this function, of_phy_register_fixed_link().

Fixes: e24a6c8746 ("net: ftgmac100: Get link speed and duplex for NC-SI")
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20241007032435.787892-1-jacky_chou@aspeedtech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-10-09 17:56:55 -07:00
..
ftgmac100.c net: ftgmac100: fixed not check status from fixed phy 2024-10-09 17:56:55 -07:00
ftgmac100.h net: ftgmac100: Enable TX interrupt to avoid TX timeout 2024-09-10 12:50:07 +02:00
ftmac100.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
ftmac100.h net: ftmac100: fix endianness-related issues from 'sparse' 2022-09-06 10:24:05 +02:00
Kconfig nds32: Remove the architecture 2022-03-07 13:54:59 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00