ethtool: drop get_settings and set_settings callbacks
authorMichal Kubecek <mkubecek@suse.cz>
Tue, 28 Aug 2018 17:56:58 +0000 (19:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2018 02:46:10 +0000 (19:46 -0700)
commit9b3004953503462a4fab31b85e44ae446d48f0bd
tree699cdc72e63902d65321910afed6a7c115af451e
parent6ce706a56c9336e8b48d9165d8cf57ace3f048f6
ethtool: drop get_settings and set_settings callbacks

Since [gs]et_settings ethtool_ops callbacks have been deprecated in
February 2016, all in tree NIC drivers have been converted to provide
[gs]et_link_ksettings() and out of tree drivers have had enough time to do
the same.

Drop get_settings() and set_settings() and implement both ETHTOOL_[GS]SET
and ETHTOOL_[GS]LINKSETTINGS only using [gs]et_link_ksettings().

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ABI/testing/sysfs-class-net
include/linux/ethtool.h
include/uapi/linux/ethtool.h
net/core/ethtool.c