ethtool: allow netdev driver to define phy tunables
authorIgor Russkikh <irusskikh@marvell.com>
Mon, 5 Oct 2020 15:39:37 +0000 (18:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2020 13:16:01 +0000 (06:16 -0700)
commitc6db31ffe202c3120147e9f3455a4dbc90546d39
tree8322e9d7f47f767d183007a3f72ae75184d5152d
parent302af7c6049dc2cbd1e07358c1912f7cce98db36
ethtool: allow netdev driver to define phy tunables

Define get/set phy tunable callbacks in ethtool ops.
This will allow MAC drivers with integrated PHY still to implement
these tunables.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h
net/ethtool/ioctl.c