linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Maor Gottlieb 33a1f8b196 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: 27bf91d6a0 ("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>
2016-10-29 16:23:48 -04:00
..
mlx4 net/mlx4_core: Avoid setting ports to auto when only one port type is supported 2016-10-29 16:23:48 -04:00
mlx5/core net/mlx5: Avoid passing dma address 0 to firmware 2016-10-29 12:00:39 -04:00
mlxsw mlxsw: spectrum_router: Compare only trees which are in use during tree get 2016-10-28 13:43:56 -04:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00