|
@@ -38,6 +38,17 @@ u32 ethtool_op_get_link(struct net_device *dev)
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(ethtool_op_get_link);
|
|
EXPORT_SYMBOL(ethtool_op_get_link);
|
|
|
|
|
|
|
|
+int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info)
|
|
|
|
+{
|
|
|
|
+ info->so_timestamping =
|
|
|
|
+ SOF_TIMESTAMPING_TX_SOFTWARE |
|
|
|
|
+ SOF_TIMESTAMPING_RX_SOFTWARE |
|
|
|
|
+ SOF_TIMESTAMPING_SOFTWARE;
|
|
|
|
+ info->phc_index = -1;
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
|
|
+EXPORT_SYMBOL(ethtool_op_get_ts_info);
|
|
|
|
+
|
|
/* Handlers for each ethtool command */
|
|
/* Handlers for each ethtool command */
|
|
|
|
|
|
#define ETHTOOL_DEV_FEATURE_WORDS ((NETDEV_FEATURE_COUNT + 31) / 32)
|
|
#define ETHTOOL_DEV_FEATURE_WORDS ((NETDEV_FEATURE_COUNT + 31) / 32)
|