net: phylink: add phylink_speed_(up|down) interface
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 24 Jun 2020 10:06:54 +0000 (11:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 20:01:39 +0000 (13:01 -0700)
commitc6d5d843d9b6e8dca3768250970f0d0a1e3d4fb0
treeeda9ba9d6b9f6d018b4e04e632745349a95d7d73
parent4b88b9ce722f19f8743de531cb3c510f36c6f970
net: phylink: add phylink_speed_(up|down) interface

Add an interface for the phy_speed_(up|down) functions when a driver
makes use of phylink. These pass the call through to phylib when we
have a normal PHY attached (i.o.w., not a PHY on a SFP module.)

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h