diff options
author | Andy Chiu <andy.chiu@sifive.com> | 2022-11-01 11:58:00 +0800 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-12-05 08:55:54 +0100 |
commit | f3558be91e5086f1673d47ba8c430e7640b32e71 (patch) | |
tree | db75fa9d753979e3f672b956c3091c75d06b9b9a /drivers/fpga/fpga.c | |
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>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions