summaryrefslogtreecommitdiffstats
path: root/net/core/ethtool.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-03-28 15:44:15 -0700
committerDavid S. Miller <davem@davemloft.net>2018-03-30 10:11:06 -0400
commitc6ab3008b6a6ecda22e92f96a1b9cc6b0d0b0a4e (patch)
treee6f297c635422cc8e59b12377f932950e5409ac0 /net/core/ethtool.c
parent2166dc95717d982d359b616b1acbb3d28f48c494 (diff)
downloadlinux-c6ab3008b6a6ecda22e92f96a1b9cc6b0d0b0a4e.tar.bz2
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 'net/core/ethtool.c')
0 files changed, 0 insertions, 0 deletions