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>
This commit is contained in:

committed by
David S. Miller

parent
4b88b9ce72
commit
c6d5d843d9
@@ -392,6 +392,8 @@ int phylink_init_eee(struct phylink *, bool);
|
||||
int phylink_ethtool_get_eee(struct phylink *, struct ethtool_eee *);
|
||||
int phylink_ethtool_set_eee(struct phylink *, struct ethtool_eee *);
|
||||
int phylink_mii_ioctl(struct phylink *, struct ifreq *, int);
|
||||
int phylink_speed_down(struct phylink *pl, bool sync);
|
||||
int phylink_speed_up(struct phylink *pl);
|
||||
|
||||
#define phylink_zero(bm) \
|
||||
bitmap_zero(bm, __ETHTOOL_LINK_MODE_MASK_NBITS)
|
||||
|
Reference in New Issue
Block a user