summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2021-09-15 12:13:13 +0200
committerDavid S. Miller <davem@davemloft.net>2021-09-15 17:17:16 +0200
commit8f4ebdb0a2744557a95810787126eb0555e7424b (patch)
tree3cc884ab265b956cf718e9175aa8665a8ea4708d /net
parentmlxsw: reg: Add fields to PMAOS register (diff)
downloadlinux-8f4ebdb0a2744557a95810787126eb0555e7424b.tar.xz
linux-8f4ebdb0a2744557a95810787126eb0555e7424b.zip
mlxsw: Make PMAOS pack function more generic
The PMAOS register has enable bits (e.g., PMAOS.ee) that allow changing only a subset of the fields, which is exactly what subsequent patches will need to do. Instead of passing multiple arguments to its pack function, only pass the module index and let the rest be set by the different callers. No functional changes intended. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions