net: stmmac: Prepare to convert to phylink
authorJose Abreu <Jose.Abreu@synopsys.com>
Tue, 11 Jun 2019 15:18:45 +0000 (17:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2019 21:02:09 +0000 (14:02 -0700)
commit9ad372fc5aaf1296761a365f9925fa5ae962c1a5
treee48f8d1f22f0db3f892e641c9f04d7d98f884be4
parent5948d11766bc5b57aca6d82ba345a6ed8ccd8f80
net: stmmac: Prepare to convert to phylink

In preparation for the convertion, split the adjust_link function into
mac_config and add the mac_link_up and mac_link_down functions.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c