If both PCS/PMA PHY and an external PHY are pressent on the Ethernet, then the real link status should point to the external facing PHY. At the same time, we must ensure the link status of the PCS/PMA PHY is good before transmitting packets.
Andy Chiu (2): net:xilinx_axi: add PCS/PMA PHY net:xilinx_axi: check PCS/PMA PHY status in setup_phy drivers/net/xilinx_axi_emac.c | 69 ++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 2 deletions(-) -- 2.36.0