diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-03-29 01:44:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-30 17:11:06 +0300 |
commit | c6ab3008b6a6ecda22e92f96a1b9cc6b0d0b0a4e (patch) | |
tree | e6f297c635422cc8e59b12377f932950e5409ac0 /drivers/net/phy/mdio_bus.c | |
parent | 2166dc95717d982d359b616b1acbb3d28f48c494 (diff) | |
download | linux-c6ab3008b6a6ecda22e92f96a1b9cc6b0d0b0a4e.tar.xz |
net: phy: phylink: Provide PHY interface to mac_link_{up, down}
In preparation for having DSA transition entirely to PHYLINK, we need to pass a
PHY interface type to the mac_link_{up,down} callbacks because we may have to
make decisions on that (e.g: turn on/off RGMII interfaces etc.). We do not pass
an entire phylink_link_state because not all parameters (pause, duplex etc.) are
defined when the link is down, only link and interface are.
Update mvneta accordingly since it currently implements phylink_mac_ops.
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
0 files changed, 0 insertions, 0 deletions