OpenCloudOS-Kernel/drivers/net/ethernet/amd
Philippe Reynes b4cafd8c49 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>
2016-07-15 16:41:35 -07:00
..
xgbe net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
7990.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
7990.h net/7990: Make lance_private.name const 2013-12-29 00:46:38 -05:00
Kconfig net: hplance: Allow modular build 2015-09-29 21:11:13 -07:00
Makefile amd-xgbe: Configuration and build support 2014-06-05 15:26:51 -07:00
a2065.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
a2065.h
am79c961a.c net: am79c961a: avoid %? in inline assembly 2016-02-16 15:06:54 -05:00
am79c961a.h
amd8111e.c ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
amd8111e.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
ariadne.c net/ariadne: delete unneeded call to netdev_priv 2014-05-15 16:57:47 -04:00
ariadne.h
atarilance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
au1000_eth.c net: ethernet: amd: au1000_eth: use phy_ethtool_{get|set}_link_ksettings 2016-07-15 16:41:35 -07:00
au1000_eth.h net: ethernet: amd: au1000_eth: use phydev from struct net_device 2016-07-15 16:41:35 -07:00
declance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
hplance.c hplance: fix ram size in comment 2014-06-05 15:14:21 -07:00
hplance.h
lance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
mvme147.c mvme147: fix ram size in comment 2014-06-05 15:14:21 -07:00
ni65.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
ni65.h
nmclan_cs.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
pcnet32.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
sun3lance.c
sunlance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00