2023-09-06 03:32:08 -05:00
|
|
|
From 2e6cd3d593c0bf1cc38093a73ec7777a5b806bfe Mon Sep 17 00:00:00 2001
|
2023-04-10 11:48:27 -05:00
|
|
|
From: Vadim Pasternak <vadimp@nvidia.com>
|
|
|
|
Date: Fri, 3 Dec 2021 11:48:44 +0200
|
2023-09-06 03:32:08 -05:00
|
|
|
Subject: [PATCH backport 5.10 102/182] mlxsw: reg: Add "mgpir_" prefix to
|
|
|
|
MGPIR fields comments
|
2023-04-10 11:48:27 -05:00
|
|
|
|
|
|
|
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>
|
|
|
|
---
|
|
|
|
drivers/net/ethernet/mellanox/mlxsw/reg.h | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/drivers/net/ethernet/mellanox/mlxsw/reg.h b/drivers/net/ethernet/mellanox/mlxsw/reg.h
|
2023-09-06 03:32:08 -05:00
|
|
|
index 7f9b902049db..c3fb2e4d4458 100644
|
2023-04-10 11:48:27 -05:00
|
|
|
--- a/drivers/net/ethernet/mellanox/mlxsw/reg.h
|
|
|
|
+++ b/drivers/net/ethernet/mellanox/mlxsw/reg.h
|
2023-09-06 03:32:08 -05:00
|
|
|
@@ -10130,24 +10130,24 @@ enum mlxsw_reg_mgpir_device_type {
|
2023-04-10 11:48:27 -05:00
|
|
|
MLXSW_REG_MGPIR_DEVICE_TYPE_GEARBOX_DIE,
|
|
|
|
};
|
|
|
|
|
|
|
|
-/* device_type
|
|
|
|
+/* mgpir_device_type
|
|
|
|
* Access: RO
|
|
|
|
*/
|
|
|
|
MLXSW_ITEM32(reg, mgpir, device_type, 0x00, 24, 4);
|
|
|
|
|
|
|
|
-/* devices_per_flash
|
|
|
|
+/* mgpir_devices_per_flash
|
|
|
|
* Number of devices of device_type per flash (can be shared by few devices).
|
|
|
|
* Access: RO
|
|
|
|
*/
|
|
|
|
MLXSW_ITEM32(reg, mgpir, devices_per_flash, 0x00, 16, 8);
|
|
|
|
|
|
|
|
-/* num_of_devices
|
|
|
|
+/* mgpir_num_of_devices
|
|
|
|
* Number of devices of device_type.
|
|
|
|
* Access: RO
|
|
|
|
*/
|
|
|
|
MLXSW_ITEM32(reg, mgpir, num_of_devices, 0x00, 0, 8);
|
|
|
|
|
|
|
|
-/* num_of_modules
|
|
|
|
+/* mgpir_num_of_modules
|
|
|
|
* Number of modules.
|
|
|
|
* Access: RO
|
|
|
|
*/
|
|
|
|
--
|
2023-09-06 03:32:08 -05:00
|
|
|
2.20.1
|
2023-04-10 11:48:27 -05:00
|
|
|
|