aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-09-13 20:06:27 +0100
committerJakub Kicinski <kuba@kernel.org>2022-09-20 07:54:13 -0700
commit8475c4b70b040f9d8cbc308100f2c4d865f810b3 (patch)
tree56edb7db335383f20de2d95677a2fac2557c714d /tools/perf/scripts/python
parentdt-bindings: net: dsa: convert ocelot.txt to dt-schema (diff)
downloadlinux-8475c4b70b040f9d8cbc308100f2c4d865f810b3.tar.gz
linux-8475c4b70b040f9d8cbc308100f2c4d865f810b3.zip
net: sfp: re-implement soft state polling setup
Re-implement the decision making for soft state polling. Instead of generating the soft state mask in sfp_soft_start_poll() by looking at which GPIOs are available, record their availability in sfp_sm_mod_probe() in sfp->state_hw_mask. This will then allow us to clear bits in sfp->state_hw_mask in module specific quirks when the hardware signals should not be used, thereby allowing us to switch to using the software state polling. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions