• Vadim Pasternak's avatar
    mlxsw: reg: Extend MGPIR register with new slot fields · b691602c
    Vadim Pasternak authored
    Extend MGPIR (Management General Peripheral Information Register) with
    new fields specifying the slot number and number of the slots available
    on system. The purpose of these fields is:
    - to support access to MPGIR register on modular system for getting the
      number of cages, equipped on the line card, inserted at specified
      slot. In case slot number is set zero, MGPIR will provide the
      information for the main board. For Top of the Rack (non-modular)
      system it will provide the same as before.
    - to provide the number of slots supported by system. This data is
      relevant only in case slot number is set zero.
    Signed-off-by: default avatarVadim Pasternak <vadimp@nvidia.com>
    Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    b691602c
reg.h 368 KB