From patchwork Sun Jul 22 17:11:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Cochran X-Patchwork-Id: 1224841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 20769E0039 for ; Sun, 22 Jul 2012 17:19:37 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SszkC-0005q4-G0; Sun, 22 Jul 2012 17:15:01 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Sszgm-0005PW-Jz for linux-arm-kernel@lists.infradead.org; Sun, 22 Jul 2012 17:11:31 +0000 Received: by wibhm11 with SMTP id hm11so1589374wib.0 for ; Sun, 22 Jul 2012 10:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=uV7+MJtpV/9ceUrKn26j2gWx6BceRMC2tOHjjMSiNqg=; b=QMiu9wi2tVIFk0fd2EQh0cy24YJx7cRcYwP6urv8NGZX1gQD9vxf9tmaAH6TVSuPKj uHx9sHtYsdvWUsRUV1+Id2vUCUjr2p75kqoKkiD29guQsaINM4PSHLu6ACxWnJlKlv1x TJnrwEqXakAZSwK56/K8yQYcrLPIYAGYHGcIFK7l9fPZw7RsWLkuNal/tCvqWq65yQKN lYH/+EnhOCj60Pm+382x4Xknj3lTQuWKmBvUsXxkF+ow/mWyQ9T2Ky+1tlKDlImdR3An 6y6mhXScp/rigbg4S1WjR8OZay1W2I1l6B62N3Io6tQV3evQyRoK8kuE0IKyED4rrmiW jAtA== Received: by 10.217.1.195 with SMTP id n45mr2314263wes.179.1342977083609; Sun, 22 Jul 2012 10:11:23 -0700 (PDT) Received: from localhost.localdomain (089144206226.atnat0015.highway.a1.net. [89.144.206.226]) by mx.google.com with ESMTPS id t7sm17804893wix.6.2012.07.22.10.11.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 10:11:23 -0700 (PDT) From: Richard Cochran To: Subject: [PATCH net-next 4/4] forcedeth: advertise transmit time stamping Date: Sun, 22 Jul 2012 19:11:06 +0200 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (richardcochran[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Willem de Bruijn , David Miller X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This driver now offers software transmit time stamping, so it should advertise that fact via ethtool. Compile tested only. Signed-off-by: Richard Cochran Cc: Willem de Bruijn --- 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 */