OpenCloudOS-Kernel/drivers/staging/octeon
Philippe Reynes 0d5704bf4e 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>
2016-08-08 15:42:20 -07:00
..
Kconfig
Makefile staging: octeon-ethernet: move cvm_oct_xaui_open() 2015-10-17 20:56:10 -07:00
ethernet-defines.h staging: octeon: Add space around '+' 2015-11-15 20:02:47 -08:00
ethernet-mdio.c net: ethernet: octeon: use phy_ethtool_{get|set}_link_ksettings 2016-08-08 15:42:20 -07:00
ethernet-mdio.h staging: octeon: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
ethernet-mem.c staging: octeon: Remove comparison to NULL 2016-03-11 22:09:09 -08:00
ethernet-mem.h staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
ethernet-rgmii.c net: ethernet: octeon: use phydev from struct net_device 2016-08-08 15:42:20 -07:00
ethernet-rx.c staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-rx.h staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-sgmii.c staging: octeon-ethernet: drop poll_now parameter from cvm_oct_common_open 2015-10-17 20:56:10 -07:00
ethernet-spi.c staging: octeon: Remove blank lines after open brace 2016-03-11 22:09:09 -08:00
ethernet-tx.c staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-tx.h staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
ethernet-util.h STAGING: Octeon: Use common helpers for determining interface and port 2015-09-03 12:08:11 +02:00
ethernet.c net: ethernet: octeon: use phydev from struct net_device 2016-08-08 15:42:20 -07:00
octeon-ethernet.h net: ethernet: octeon: use phydev from struct net_device 2016-08-08 15:42:20 -07:00