]> 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)
commit3ea887af2cba3a9a1688a32f630d856359cc4db8
treee48f8d1f22f0db3f892e641c9f04d7d98f884be4
parent93a87670de29ea04d408c0d5ba81c15a41046ee5
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