Skip to content

Commit 719fc06

Browse files
vadimp-nvidiadavem330
authored andcommitted
mlxsw: reg: Add "mgpir_" prefix to MGPIR fields comments
Do the same as for other registers and have "mgpir_" prefix for the MGPIR fields. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent bfb82c9 commit 719fc06

File tree

1 file changed

+4
-4
lines changed
  • drivers/net/ethernet/mellanox/mlxsw

1 file changed

+4
-4
lines changed

drivers/net/ethernet/mellanox/mlxsw/reg.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11323,24 +11323,24 @@ enum mlxsw_reg_mgpir_device_type {
1132311323
MLXSW_REG_MGPIR_DEVICE_TYPE_GEARBOX_DIE,
1132411324
};
1132511325

11326-
/* device_type
11326+
/* mgpir_device_type
1132711327
* Access: RO
1132811328
*/
1132911329
MLXSW_ITEM32(reg, mgpir, device_type, 0x00, 24, 4);
1133011330

11331-
/* devices_per_flash
11331+
/* mgpir_devices_per_flash
1133211332
* Number of devices of device_type per flash (can be shared by few devices).
1133311333
* Access: RO
1133411334
*/
1133511335
MLXSW_ITEM32(reg, mgpir, devices_per_flash, 0x00, 16, 8);
1133611336

11337-
/* num_of_devices
11337+
/* mgpir_num_of_devices
1133811338
* Number of devices of device_type.
1133911339
* Access: RO
1134011340
*/
1134111341
MLXSW_ITEM32(reg, mgpir, num_of_devices, 0x00, 0, 8);
1134211342

11343-
/* num_of_modules
11343+
/* mgpir_num_of_modules
1134411344
* Number of modules.
1134511345
* Access: RO
1134611346
*/

0 commit comments

Comments
 (0)