Commits
![Maor Gottlieb](https://secure.gravatar.com/avatar/f6a0adcf2630fa2785a2230acfad8d16.jpg?s=96&d=mm)
Maor Gottlieb committed 33a1f8b196d
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>