aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2023-11-21 17:20:24 +0000
committerDavid S. Miller <[email protected]>2023-11-25 19:17:28 +0000
commit2f3ce7a56c6e02bc0b258507f3a82b7511f62f9e (patch)
tree3896bdd94f2a28dda94703397400ed531144ad01 /tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py
parentMerge branch 'firmware_loader' (diff)
downloadkernel-2f3ce7a56c6e02bc0b258507f3a82b7511f62f9e.tar.gz
kernel-2f3ce7a56c6e02bc0b258507f3a82b7511f62f9e.zip
net: sfp: rework the RollBall PHY waiting code
RollBall SFP modules allow the access to PHY registers only after a certain time has passed. Until then, the registers read 0xffff. Currently we have quirks for modules where we need to wait either 25 seconds or 4 seconds, but recently I got hands on another module where the wait is even shorter. Instead of hardcoding different wait times, lets rework the code: - increase the PHY retry count to 25 - when RollBall module is detected, increase the PHY retry time from 50ms to 1s Signed-off-by: Marek BehĂșn <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py')
0 files changed, 0 insertions, 0 deletions