]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Move an_disable_cap bit to a new position
authorBodong Wang <bodong@mellanox.com>
Wed, 7 Sep 2016 16:07:58 +0000 (19:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Sep 2016 23:15:28 +0000 (16:15 -0700)
commitd7c49f65d9f1e9b02e972622210e550e8da583f8
tree348c50cc39d335e71ca1902248f0f006c7b1bc7b
parentc83d5f334f39021a8d340ef255b0361ad08cee31
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: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mlx5/mlx5_ifc.h