diff options
author | 2022-08-15 10:50:08 -0700 | |
---|---|---|
committer | 2022-08-17 10:55:03 -0700 | |
commit | 1ed26ce4850accf88aedd1b1c7974a94396305d0 (patch) | |
tree | 50a7bc5653ff9618410f36d537f4be3db9ed77fb /lib/memory-notifier-error-inject.c | |
parent | net: sfp: use simplified HWMON_CHANNEL_INFO macro (diff) | |
download | linux-rng-1ed26ce4850accf88aedd1b1c7974a94396305d0.tar.xz linux-rng-1ed26ce4850accf88aedd1b1c7974a94396305d0.zip |
net: dsa: bcm_sf2: Introduce helper for port override offset
Depending upon the generation of switches, we have different offsets for
configuring a given port's status override where link parameters are
applied. Introduce a helper function that we re-use throughout the code
in order to let phylink callbacks configure the IMP/CPU port(s) in
subsequent changes.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions