]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Use resolved link config in mac_link_up()
authorJose Abreu <Jose.Abreu@synopsys.com>
Mon, 9 Mar 2020 08:36:23 +0000 (09:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 03:13:16 +0000 (20:13 -0700)
commit6074842c13d2e7850ef1ac2d337f0e8707d9716d
treea2608b5ed96a46c221773b85e3df9c7fb7152505
parentd29c6bad028119d6dfed88df63b4e94203b789ad
net: stmmac: Use resolved link config in mac_link_up()

Convert the stmmac ethernet driver to use the finalised link parameters
in mac_link_up() rather than the parameters in mac_config().

Suggested-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c