net: phy: Add limkmode equivalents to some of the MII ethtool helpers
authorAndrew Lunn <andrew@lunn.ch>
Sat, 29 Sep 2018 21:04:14 +0000 (23:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 05:55:36 +0000 (22:55 -0700)
commitf954a04ea18ebfcba1cd2756eaee59eb4978a20e
treea7534d92a0cdb1d151aef550ef3223667f168cdf
parent5f991f7bddc991ecc3c8a009ffd76fccff4661c7
net: phy: Add limkmode equivalents to some of the MII ethtool helpers

Add helpers which take a linkmode rather than a u32 ethtool for
advertising settings.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mii.h