diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2024-12-12 18:06:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-12-16 12:51:41 +0000 |
commit | 6e9e2eed4f39d52edf5fd006409d211facf49f6b (patch) | |
tree | 917af57b3a8dc64df22f4ca5f0f1a0292ead6752 /net/ethtool/common.h | |
parent | b9e3f7dc9ed95daeb83cfa45b821cacaa01aa906 (diff) |
net: ethtool: Add support for tsconfig command to get/set hwtstamp config
Introduce support for ETHTOOL_MSG_TSCONFIG_GET/SET ethtool netlink socket
to read and configure hwtstamp configuration of a PHC provider. Note that
simultaneous hwtstamp isn't supported; configuring a new one disables the
previous setting.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool/common.h')
-rw-r--r-- | net/ethtool/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/common.h b/net/ethtool/common.h index f5119204c8ff..850eadde4bfc 100644 --- a/net/ethtool/common.h +++ b/net/ethtool/common.h @@ -56,7 +56,7 @@ int ethtool_get_ts_info_by_phc(struct net_device *dev, int ethtool_net_get_ts_info_by_phc(struct net_device *dev, struct kernel_ethtool_ts_info *info, struct hwtstamp_provider_desc *hwprov_desc); -int +struct phy_device * ethtool_phy_get_ts_info_by_phc(struct net_device *dev, struct kernel_ethtool_ts_info *info, struct hwtstamp_provider_desc *hwprov_desc); |