[kernel][common][eth][Update gangload timeout mechanism for the Aquantia PHY driver]
Refactor gangload timeout mechanism for the Aquantia PHY driver.
In the previous commit , we added a timeout mechanism to
the gangload mode, it will force download firmware into the 10G PHY
when there is only one 10G PHY IC on the board.
However, we found that previous commit might experience a race
condition between the heartbeat thread and the gangload function.
Without this patch, the gangload mode may fail to download firmware
on the board without WiFi.
1 file changed