commit | f3558be91e5086f1673d47ba8c430e7640b32e71 | [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 | e23544cffe7057d678846498ec0fbf21eff9bc95 [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>