commit | a1ef4a7920549d015128a8a49d7c9e654d197c98 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Sun Aug 05 16:51:49 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 05 17:08:26 2018 -0700 |
tree | 464f8a59d3e7773a2cbee5721c9644bacdaf5905 | |
parent | 55fd0cf320c3051f8dcb88c07ddd1e4c54b82cba [diff] |
bnxt_en: Add PHY retry logic. During hotplug, the driver's open function can be called almost immediately after power on reset. The PHY may not be ready and the firmware may return failure when the driver tries to update PHY settings. Add retry logic fired from the driver's timer to retry the operation for 5 seconds. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>