]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: Update module_type values in PMTM register and map them to width
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Feb 2020 19:59:26 +0000 (20:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 20:08:46 +0000 (12:08 -0800)
commit3879d063bb4ddf19f1c93bc78952faeaa7a4b387
tree3bf0a45f0a201c72dab73d2de2b30859fb2bcf09
parentff5a5e192e0c206e6be8ddbe666375dedbb23f11
mlxsw: reg: Update module_type values in PMTM register and map them to width

There are couple new values that PMTM register can return
in module_type field. Add them and map them to module width in
mlxsw_core_module_max_width(). Fix the existing names on the way.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/reg.h