]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ethtool-drop-get_settings-and-set_settings-ops'
authorDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2018 02:46:11 +0000 (19:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2018 02:46:11 +0000 (19:46 -0700)
commit2aa727d3166f9f85dae34fcc9521e561c3d24a75
tree699cdc72e63902d65321910afed6a7c115af451e
parentcf6783def82dcb74cc099fef21d111ffcc89c9a2
parentc290f078b2e0345cab9115cf0c82d3d91555dbc5
Merge branch 'ethtool-drop-get_settings-and-set_settings-ops'

Michal Kubecek says:

====================
ethtool: drop get_settings and set_settings ops

As Andrew Lunn pointed out in recent discussion, there is only one in tree
driver left which still defines deprecated callbacks get_settings() and
set_settings() in ethtool_ops. First patch converts this driver to
get_link_ksettings() and set_link_ksettings(). Second patch then removes
the deprecated callbacks from struct ethtool_ops and ethtool code which
falls back to them.

This doesn't break old versions of ethtool or any other userspace code
using ETHTOOL_{G,S}SET. We still implement both (old) ETHTOOL_{G,S}SET and
(new) ETHTOOL_{G,S}LINKSETTINGS ioctl commands but after this series both
will be implemented only using {g,s}et_link_ksettings(). The only affected
code would be out of tree NIC drivers which have not been converted yet.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>