net: phy: add __set_linkmode_max_speed
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 12 Aug 2019 21:50:30 +0000 (23:50 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 14 Aug 2019 00:14:06 +0000 (17:14 -0700)
commit7b261e0ef5f88087765df7f079a4bd0d285f7579
tree056d0dafb6953f1b2aaf8c2fc6a1861ab7d3f815
parent043b8413e8c0c0ffbf8be268eb73716e05a96064
net: phy: add __set_linkmode_max_speed

We will need the functionality of __set_linkmode_max_speed also for
linkmode bitmaps other than phydev->supported. Therefore split it.

v2:
- remove unused parameter from __set_linkmode_max_speed

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/phy/phy-core.c