forcedeth: advertise transmit time stamping
authorRichard Cochran <richardcochran@gmail.com>
Sun, 22 Jul 2012 07:15:42 +0000 (07:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2012 19:33:32 +0000 (12:33 -0700)
This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c

index 67edc2e15b825cf0d7dc238802f57ee4db3b7485..f45def01a98e46333873ee05366ad206f54b4fc9 100644 (file)
@@ -5182,6 +5182,7 @@ static const struct ethtool_ops ops = {
        .get_ethtool_stats = nv_get_ethtool_stats,
        .get_sset_count = nv_get_sset_count,
        .self_test = nv_self_test,
+       .get_ts_info = ethtool_op_get_ts_info,
 };
 
 /* The mgmt unit and driver use a semaphore to access the phy during init */