commit | 25911e1b97971a06b4c053f70c7c1eb0c33a607e | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 31 11:42:08 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 10:54:46 2019 -0700 |
tree | a09367e68929eab8e5f4fc5093093996087c20d6 | |
parent | a513b1a5910bfc15d5a42e969e66a7986fd32819 [diff] |
mlxsw: spectrum: Use PMTM register to get max module width Currently the max module width is hard-coded according to ASIC type. That is not entirely correct, as the max module width might differ per-board. Use PMTM register to query FW for maximal width of a module. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>