summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-03-10 18:12:50 -0800
committerJakub Kicinski <kuba@kernel.org>2023-03-10 18:12:50 -0800
commit127cd68563925577f7f27a5b17a788be18c577e5 (patch)
tree1fa15bebb9b069063362cd3afe1a4ee34028f191 /scripts/generate_rust_analyzer.py
parentc568a8de6bb1cdf86badf01a1645e2efb433db21 (diff)
parent5daed426f012a1c0db0048339e359ee98a2c8752 (diff)
Merge branch 'rework-sfp-a2-access-conditionals'
Russell King says: ==================== Rework SFP A2 access conditionals This series reworks the SFP A2 (diagnostics and control) access so we don't end up testing a variable number of conditions in several places. This also resolves a minor issue where we may have a module indicating that it is not SFF8472 compliant, doesn't implement A2, but fails to set the enhanced option byte to zero, leading to accesses to the A2 page that fail. The first patch adds a new flag "have_a2" which indicates whether we should be accessing the A2 page, and uses this for hwmon. The conditions are kept the same. The second patch extends the check for soft-state polling and control by using this "have_a2" flag (which effectively augments the check to include some level of SFF8472 compliance.) ==================== Link: https://lore.kernel.org/r/ZAoBnqGBnIZzLwpV@shell.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions