summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-07-30 22:50:04 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-09-02 10:02:08 +0100
commitea00b42dcb76ad1849d122b15feefa94669ec563 (patch)
tree3dc097199dd5db48073e5bfd0a5ed0a51ba86e92 /drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
parentc05245689470468940694c0c51a9cb54187dac11 (diff)
net: ethtool: allow MAC drivers to override ethtool get_ts_info
Check whether the MAC driver has implemented the get_ts_info() method first, and call it if present. If this method returns -EOPNOTSUPP, defer to the phylib or default implementation. XXX: review any drivers that use phylib and provide get_ts_info(). Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c')
0 files changed, 0 insertions, 0 deletions