diff options
author | Florian Fainelli <[email protected]> | 2018-03-28 15:44:15 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-30 10:11:06 -0400 |
commit | c6ab3008b6a6ecda22e92f96a1b9cc6b0d0b0a4e (patch) | |
tree | e6f297c635422cc8e59b12377f932950e5409ac0 /net/lapb/lapb_subr.c | |
parent | 2166dc95717d982d359b616b1acbb3d28f48c494 (diff) |
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 <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Acked-by: Russell King <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions