diff options
author | Stas Sergeev <stsp@list.ru> | 2015-07-20 17:49:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 16:12:55 -0700 |
commit | f8af8e6eb95093d5ce5ebcc52bd1929b0433e172 (patch) | |
tree | 76ded30520eb9cd0c39dd78abe274b5440250ff4 /drivers/scsi/3w-sas.c | |
parent | 4cba5c2103657d43d0886e4cff8004d95a3d0def (diff) |
mvneta: use inband status only when explicitly enabled
The commit 898b2970e2c9 ("mvneta: implement SGMII-based in-band link state
signaling") implemented the link parameters auto-negotiation unconditionally.
Unfortunately it appears that some HW that implements SGMII protocol,
doesn't generate the inband status, so it is not possible to auto-negotiate
anything with such HW.
This patch enables the auto-negotiation only if explicitly requested with
the 'managed' DT property.
This patch fixes the following regression:
https://lkml.org/lkml/2015/7/8/865
Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: netdev@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/3w-sas.c')
0 files changed, 0 insertions, 0 deletions