aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/fw.c
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2016-10-27 16:27:14 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-29 16:23:48 -0400
commit33a1f8b196dca933313c001866c4df3f3ca11f78 (patch)
tree480a21a8941bb17a9a766bc4c57f4fe80be9370f /drivers/net/ethernet/mellanox/mlx4/fw.c
parentnet/mlx4_core: Fix the resource-type enum in res tracker to conform to FW spec (diff)
downloadlinux-dev-33a1f8b196dca933313c001866c4df3f3ca11f78.tar.xz
linux-dev-33a1f8b196dca933313c001866c4df3f3ca11f78.zip
net/mlx4_core: Avoid setting ports to auto when only one port type is supported
When only one port type is supported, it should be read only. We reject changing requests, even to the auto sense mode. Fixes: 27bf91d6a0d5 ("mlx4_core: Add link type autosensing") Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions