summaryrefslogtreecommitdiffstats
path: root/drivers/ps3/ps3-sys-manager.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2020-03-18 15:48:49 +0200
committerDavid S. Miller <davem@davemloft.net>2020-03-18 16:46:19 -0700
commitac5de9a20f106111ba113fdd96ded717793c249a (patch)
treed958918cd24aeb4bc481dc6356a53c3c7233cad1 /drivers/ps3/ps3-sys-manager.c
parent8d174351f285a27139abf72515eaf86fa6394e34 (diff)
downloadlinux-ac5de9a20f106111ba113fdd96ded717793c249a.tar.bz2
mlxsw: spectrum_cnt: Query bank size from FW resources
The bank size is different between Spectrum versions. Also it is a resource that can be queried. So instead of hard coding the value in code, query it from the firmware. 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>
Diffstat (limited to 'drivers/ps3/ps3-sys-manager.c')
0 files changed, 0 insertions, 0 deletions