]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a9117f9c75aa285e7dc0f6c079b6121cd5a367a
tree699cdc72e63902d65321910afed6a7c115af451e
parentec824b1e0f5c65ef3f45da44e82166986b26ae5e
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