mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 21:47:04 +07:00
mlxsw: Update specification of reg_ritr_type
The comments really belong to the individual enumerators. The comment at the register should instead reference the enum. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8de3c17819
commit
78676ad4fb
@ -3992,16 +3992,16 @@ MLXSW_ITEM32(reg, ritr, ipv4, 0x00, 29, 1);
|
|||||||
MLXSW_ITEM32(reg, ritr, ipv6, 0x00, 28, 1);
|
MLXSW_ITEM32(reg, ritr, ipv6, 0x00, 28, 1);
|
||||||
|
|
||||||
enum mlxsw_reg_ritr_if_type {
|
enum mlxsw_reg_ritr_if_type {
|
||||||
|
/* VLAN interface. */
|
||||||
MLXSW_REG_RITR_VLAN_IF,
|
MLXSW_REG_RITR_VLAN_IF,
|
||||||
|
/* FID interface. */
|
||||||
MLXSW_REG_RITR_FID_IF,
|
MLXSW_REG_RITR_FID_IF,
|
||||||
|
/* Sub-port interface. */
|
||||||
MLXSW_REG_RITR_SP_IF,
|
MLXSW_REG_RITR_SP_IF,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* reg_ritr_type
|
/* reg_ritr_type
|
||||||
* Router interface type.
|
* Router interface type as per enum mlxsw_reg_ritr_if_type.
|
||||||
* 0 - VLAN interface.
|
|
||||||
* 1 - FID interface.
|
|
||||||
* 2 - Sub-port interface.
|
|
||||||
* Access: RW
|
* Access: RW
|
||||||
*/
|
*/
|
||||||
MLXSW_ITEM32(reg, ritr, type, 0x00, 23, 3);
|
MLXSW_ITEM32(reg, ritr, type, 0x00, 23, 3);
|
||||||
|
Loading…
Reference in New Issue
Block a user