commit | 1970ee9614d89df88a263f56c3a55d34633fe181 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Fri Mar 01 11:52:13 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 01 23:23:34 2019 -0800 |
tree | 1ff73f311be9f2481d5abd71d8889b31a9bb2124 | |
parent | f17e70d2586a81d69d7b011e81af0456fe65d658 [diff] |
net: mvpp2: force the XLG MAC link up or down when not using in-band This patch force the XLG MAC link state in the phylink link_up() and link_down() helpers when not using in-band auto-negotiation. This mimics what's already done for the GMAC and follows what's advised in the phylink documentation. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>