]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_core: Avoid setting ports for auto when only one port type is supported
authorMoshe Lazer <moshel@mellanox.com>
Sun, 28 Apr 2013 14:19:17 +0000 (17:19 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:11 +0000 (14:45 -0700)
commit93bf3dd8d1e10260c0b62055e9215ea3fa808fa4
tree84a33b0d7a95c5cfdec74ca267c8dbbafd189f42
parent462eb7b80251d8704de201c88f7f5294b0b4e822
mlx4_core: Avoid setting ports for auto when only one port type is supported

When only one port type is supported driver should reject requests
to change mode to auto sense.

Signed-off-by: Moshe Lazer <moshel@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/net/ethernet/mellanox/mlx4/main.c