From: Richard Cochran Date: Sun, 22 Jul 2012 07:15:39 +0000 (+0000) Subject: bnx2x: advertise transmit time stamping X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=be53ce1edde13599105c1de88c5bd593d26dfe22;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git bnx2x: advertise transmit time stamping This driver now offers software transmit time stamping, so it should advertise that fact via ethtool. Compile tested only. Signed-off-by: Richard Cochran Cc: Eilon Greenstein Cc: Willem de Bruijn Acked-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index bff31290198b..fc4e0e3885b0 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c @@ -2978,6 +2978,7 @@ static const struct ethtool_ops bnx2x_ethtool_ops = { .get_module_eeprom = bnx2x_get_module_eeprom, .get_eee = bnx2x_get_eee, .set_eee = bnx2x_set_eee, + .get_ts_info = ethtool_op_get_ts_info, }; void bnx2x_set_ethtool_ops(struct net_device *netdev)