Commit e7e31ca4 authored by Bodong Wang's avatar Bodong Wang Committed by David S. Miller

net/mlx5e: Move an_disable_cap bit to a new position

Previous an_disable_cap position bit31 is deprecated to be use in driver
with newer firmware.  New firmware will advertise the same capability
in bit29.

Old capability didn't allow setting more than one protocol for a
specific speed when autoneg is off, while newer firmware will allow
this and it is indicated in the new capability location.
Signed-off-by: default avatarBodong Wang <bodong@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0dbf657c
...@@ -6710,9 +6710,10 @@ struct mlx5_ifc_pude_reg_bits { ...@@ -6710,9 +6710,10 @@ struct mlx5_ifc_pude_reg_bits {
}; };
struct mlx5_ifc_ptys_reg_bits { struct mlx5_ifc_ptys_reg_bits {
u8 an_disable_cap[0x1]; u8 reserved_at_0[0x1];
u8 an_disable_admin[0x1]; u8 an_disable_admin[0x1];
u8 reserved_at_2[0x6]; u8 an_disable_cap[0x1];
u8 reserved_at_3[0x5];
u8 local_port[0x8]; u8 local_port[0x8];
u8 reserved_at_10[0xd]; u8 reserved_at_10[0xd];
u8 proto_mask[0x3]; u8 proto_mask[0x3];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment