]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Implements ETHTOOL_PHY_GTUNABLE/ETHTOOL_PHY_STUNABLE
authorRaju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Thu, 17 Nov 2016 12:07:21 +0000 (13:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 17:12:14 +0000 (12:12 -0500)
commitc52fe67a85a99004fe80e5e5e3db90500c08c0f9
treea5a4ebc7297c7f9407ec65da4228b63a44b92992
parent9a06ad81df06909e06b709175ed0a3781b51fef8
ethtool: Implements ETHTOOL_PHY_GTUNABLE/ETHTOOL_PHY_STUNABLE

Adding get_tunable/set_tunable function pointer to the phy_driver
structure, and uses these function pointers to implement the
ETHTOOL_PHY_GTUNABLE/ETHTOOL_PHY_STUNABLE ioctls.

Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Allan W. Nielsen <allan.nielsen@microsemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h
net/core/ethtool.c