diff options
author | 2023-03-09 15:57:11 +0000 | |
---|---|---|
committer | 2023-03-10 18:12:48 -0800 | |
commit | f94b9bed12e8244717512941494fe83c94773a58 (patch) | |
tree | ae3be3e9209a5f82d15c4f5a51eb8527f43a7337 /scripts/generate_rust_analyzer.py | |
parent | Merge branch 'couple-of-minor-improvements-to-build_skb-variants' (diff) | |
download | linux-rng-f94b9bed12e8244717512941494fe83c94773a58.tar.xz linux-rng-f94b9bed12e8244717512941494fe83c94773a58.zip |
net: sfp: add A2h presence flag
The hwmon code wants to know when it is safe to access the A2h data
stored in a separate address. We indicate that this is present when
we have SFF-8472 compliance and the lack of an address-change
sequence.,
The same conditions are also true if we want to access other controls
and status in the A2h address. So let's make a flag to indicate whether
we can access it, instead of repeating the conditions throughout the
code.
For now, only convert the hwmon code.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions