]> 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)
commit74a47191bef70ecaeb0a2353a74d8439a52c464c
tree8322e9d7f47f767d183007a3f72ae75184d5152d
parent47a88559f7b6927cebb893735420ca998a3c1548
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