@@ -448,7 +448,7 @@ static int mlxsw_env_module_reset(struct mlxsw_core *mlxsw_core, u8 module)
448
448
{
449
449
char pmaos_pl [MLXSW_REG_PMAOS_LEN ];
450
450
451
- mlxsw_reg_pmaos_pack (pmaos_pl , module );
451
+ mlxsw_reg_pmaos_pack (pmaos_pl , 0 , module );
452
452
mlxsw_reg_pmaos_rst_set (pmaos_pl , true);
453
453
454
454
return mlxsw_reg_write (mlxsw_core , MLXSW_REG (pmaos ), pmaos_pl );
@@ -548,7 +548,7 @@ static int mlxsw_env_module_enable_set(struct mlxsw_core *mlxsw_core,
548
548
enum mlxsw_reg_pmaos_admin_status admin_status ;
549
549
char pmaos_pl [MLXSW_REG_PMAOS_LEN ];
550
550
551
- mlxsw_reg_pmaos_pack (pmaos_pl , module );
551
+ mlxsw_reg_pmaos_pack (pmaos_pl , 0 , module );
552
552
admin_status = enable ? MLXSW_REG_PMAOS_ADMIN_STATUS_ENABLED :
553
553
MLXSW_REG_PMAOS_ADMIN_STATUS_DISABLED ;
554
554
mlxsw_reg_pmaos_admin_status_set (pmaos_pl , admin_status );
@@ -931,7 +931,7 @@ mlxsw_env_module_oper_state_event_enable(struct mlxsw_core *mlxsw_core)
931
931
for (i = 0 ; i < mlxsw_core_env (mlxsw_core )-> module_count ; i ++ ) {
932
932
char pmaos_pl [MLXSW_REG_PMAOS_LEN ];
933
933
934
- mlxsw_reg_pmaos_pack (pmaos_pl , i );
934
+ mlxsw_reg_pmaos_pack (pmaos_pl , 0 , i );
935
935
mlxsw_reg_pmaos_e_set (pmaos_pl ,
936
936
MLXSW_REG_PMAOS_E_GENERATE_EVENT );
937
937
mlxsw_reg_pmaos_ee_set (pmaos_pl , true);
0 commit comments