]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc955d4c78d5d7ef5d79dc392f7f5e10b3f86986
tree8322e9d7f47f767d183007a3f72ae75184d5152d
parent2767acefdf03978bedf935a04c5294b33e5001f9
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