Thread (1 message) 1 message, 1 author, 2012-07-23

Re: [PATCH net-next 4/4] forcedeth: advertise transmit time stamping

From: Willem de Bruijn <willemb@google.com>
Date: 2012-07-23 13:27:50

On Sun, Jul 22, 2012 at 1:15 PM, Richard Cochran
[off-list ref] wrote:
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>
Acked-by: Willem de Bruijn <willemb@google.com>
quoted hunk
Cc: Willem de Bruijn <willemb@google.com>
---
 drivers/net/ethernet/nvidia/forcedeth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index 67edc2e..f45def0 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 */
--
1.7.2.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help