linux/drivers/net/phy/aquantia
Bartosz Golaszewski a7f3abcf63 net: phy: aquantia: only poll GLOBAL_CFG regs on aqr113, aqr113c and aqr115c
Commit 708405f3e5 ("net: phy: aquantia: wait for the GLOBAL_CFG to
start returning real values") introduced a workaround for an issue
observed on aqr115c. However there were never any reports of it
happening on other models and the workaround has been reported to cause
and issue on aqr113c (and it may cause the same on any other model not
supporting 10M mode).

Let's limit the impact of the workaround to aqr113, aqr113c and aqr115c
and poll the 100M GLOBAL_CFG register instead as both models are known
to support it correctly.

Reported-by: Jon Hunter <jonathanh@nvidia.com>
Closes: https://lore.kernel.org/lkml/7c0140be-4325-4005-9068-7e0fc5ff344d@nvidia.com/
Fixes: 708405f3e5 ("net: phy: aquantia: wait for the GLOBAL_CFG to start returning real values")
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Link: https://patch.msgid.link/20240729150315.65798-1-brgl@bgdev.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-07-30 18:27:58 -07:00
..
aquantia_firmware.c net: phy: aquantia: wait for FW reset before checking the vendor ID 2024-07-10 04:57:28 +01:00
aquantia_hwmon.c
aquantia_leds.c net: phy: aquantia: add support for PHY LEDs 2024-06-05 10:21:31 +01:00
aquantia_main.c net: phy: aquantia: only poll GLOBAL_CFG regs on aqr113, aqr113c and aqr115c 2024-07-30 18:27:58 -07:00
aquantia.h net: phy: aquantia: rename and export aqr107_wait_reset_complete() 2024-07-10 04:57:27 +01:00
Kconfig net: phy: aquantia: switch to crc_itu_t() 2024-01-04 13:14:31 -08:00
Makefile net: phy: aquantia: add support for PHY LEDs 2024-06-05 10:21:31 +01:00