aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-17 01:10:15 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-17 23:22:02 -0700
commitfe7c11b2cf41e2dfee30a46fcc027c0e84d0f3cb (patch)
tree7b1050245cef1c154d4518770eee1a2ce4db366e /drivers/net/ethernet/marvell
parentnet: ethernet: adi: bfin_mac: use phydev from struct net_device (diff)
downloadlinux-dev-fe7c11b2cf41e2dfee30a46fcc027c0e84d0f3cb.tar.xz
linux-dev-fe7c11b2cf41e2dfee30a46fcc027c0e84d0f3cb.zip
net: ethernet: adi: bfin_mac: 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 bfin_mac_ethtool_setsettings, 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/marvell')
0 files changed, 0 insertions, 0 deletions