Message ID | d95c3b5bf30e3a7d056ad7f9fb774bbf572dc217.1342976654.git.richardcochran@gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
On Sun, Jul 22, 2012 at 1:15 PM, Richard Cochran <richardcochran@gmail.com> 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> > 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 > -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 */
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> --- drivers/net/ethernet/nvidia/forcedeth.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)