diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-07-08 09:50:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-07-10 04:57:28 +0100 |
commit | 708405f3e56e3bee086f46a43398ee300c36a1d8 (patch) | |
tree | 1d2ad2411b713d152b4e6bb80196760757946960 /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | ad649a1fac37e390de5b4211b902ec666c4cd202 (diff) |
net: phy: aquantia: wait for the GLOBAL_CFG to start returning real values
When the PHY is first coming up (or resuming from suspend), it's
possible that although the FW status shows as running, we still see
zeroes in the GLOBAL_CFG set of registers and cannot determine available
modes. Since all models support 10M, add a poll and wait the config to
become available.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions