aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/nvidia
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 /drivers/net/ethernet/nvidia
parente1000e: advertise transmit time stamping (diff)
downloadlinux-dev-7491302dc765d33cbec121d5ffc0a3c040cbe444.tar.xz
linux-dev-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>
Diffstat (limited to 'drivers/net/ethernet/nvidia')
-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 67edc2e15b82..f45def01a98e 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 */