diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-15 10:05:12 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-15 23:41:35 (GMT) |
commit | b4cafd8c4909187cb17b358be60ec3b86e91af00 (patch) | |
tree | cebd328db8c34cb2049391f4b070489f1214bd8f /drivers/net/ethernet/ti/netcp_sgmii.c | |
parent | 1e8b73896f15b5a83dfb18924169f23450bae064 (diff) | |
download | linux-b4cafd8c4909187cb17b358be60ec3b86e91af00.tar.xz |
net: ethernet: amd: au1000_eth: 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 au1000_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/ti/netcp_sgmii.c')
0 files changed, 0 insertions, 0 deletions