]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4188407851f84bc4dacdb713708df9500a30f05d
treee48f8d1f22f0db3f892e641c9f04d7d98f884be4
parent3366ae20a86f5446fe44e83e081f9f415f2de96e
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