aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-30 16:14:44 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-08 15:42:20 -0700
commit0d5704bf4ebe4d83ab46a2206a74faf2fe3a77af (patch)
tree074c577b2c60719cdde22abae1e3ca98920fbfb8 /drivers/net/ethernet
parentnet: ethernet: octeon: use phydev from struct net_device (diff)
downloadlinux-dev-0d5704bf4ebe4d83ab46a2206a74faf2fe3a77af.tar.xz
linux-dev-0d5704bf4ebe4d83ab46a2206a74faf2fe3a77af.zip
net: ethernet: octeon: use phy_ethtool_{get|set}_link_ksettings
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. There was a check on CAP_NET_ADMIN in cvm_oct_set_settings, but this check is already done in dev_ethtool, so no need to repeat it before calling the generic function. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions