summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2012-07-22 07:15:42 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-22 12:33:32 -0700
commit7491302dc765d33cbec121d5ffc0a3c040cbe444 (patch)
tree2afda09ac5e3e6f207300a99eb2712c5323a93c8
parent7b1115e017569219eccbcad2bc48b81e6b98df29 (diff)
downloadlinux-3.10-7491302dc765d33cbec121d5ffc0a3c040cbe444.tar.gz
linux-3.10-7491302dc765d33cbec121d5ffc0a3c040cbe444.tar.bz2
linux-3.10-7491302dc765d33cbec121d5ffc0a3c040cbe444.zip
forcedeth: 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 <richardcochran@gmail.com> Cc: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/nvidia/forcedeth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index 67edc2e15b8..f45def01a98 100644
--- a/drivers/net/ethernet/nvidia/forcedeth.c
+++ b/drivers/net/ethernet/nvidia/forcedeth.c
@@ -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 */