]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: marvell: mvneta: use new api ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 30 Jul 2016 15:42:12 +0000 (17:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 22:42:21 +0000 (15:42 -0700)
commitbc2a2b893dcb50d9c083fd43dd95d6b999545643
tree254dd1bf1026d52865d0b5a62bafbea7f79ca858
parenta7cd296b0453e6d4055c0bac7feefcbfa52bff69
net: ethernet: marvell: mvneta: use new api ethtool_{get|set}_link_ksettings

The ethtool api {get|set}_settings is deprecated.
We move the mvneta driver to new api {get|set}_link_ksettings.

We use the generic function phy_ethtool_get_link_ksettings,
and update old mvneta_ethtool_set_settings to the new api.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c