commit | 8144a2a8d558a8c08b69e622fd84d8fb0540377b | [log] [tgz] |
---|---|---|
author | Andy Chiu <andy.chiu@sifive.com> | Tue Nov 01 11:58:00 2022 +0800 |
committer | Michal Simek <michal.simek@amd.com> | Mon Dec 05 08:55:54 2022 +0100 |
tree | db75fa9d753979e3f672b956c3091c75d06b9b9a | |
parent | 58af7ebcbf91dd840c857be91238ba220dd55a3c [diff] |
net: xilinx_axi: check PCS/PMA PHY status in setup_phy Both PCS/PMA PHY and the external PHY need to have a valid link status in order to have Ethernet traffic. Check and wait this status at setup_phy() so that we could diagnose if there is a PHY issue. Signed-off-by: Andy Chiu <andy.chiu@sifive.com> Reviewed-by: Greentime Hu <greentime.hu@sifive.com> Link: https://lore.kernel.org/r/20221101035800.912644-3-andy.chiu@sifive.com Signed-off-by: Michal Simek <michal.simek@amd.com>