netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: thor.thayer@linux.intel.com
To: linville@tuxdriver.com, peppe.cavallaro@st.com
Cc: netdev@vger.kernel.org, thor.thayer@linux.intel.com
Subject: [PATCHv2 3/3] ethtool: stmmac: Add DMA HW Feature Register
Date: Wed, 28 Jun 2017 10:13:42 -0500	[thread overview]
Message-ID: <1498662822-12173-4-git-send-email-thor.thayer@linux.intel.com> (raw)
In-Reply-To: <1498662822-12173-1-git-send-email-thor.thayer@linux.intel.com>

From: Thor Thayer <thor.thayer@linux.intel.com>

This patch adds the DMA HW Feature Register which is at the end
of the DMA registers and is documented in Version 3.70a.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
---
v2  Modify for MACRO changes and add Acked-by
---
 stmmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stmmac.c b/stmmac.c
index ab83779..e5d8c7b 100644
--- a/stmmac.c
+++ b/stmmac.c
@@ -16,7 +16,7 @@
 
 #define MAC100_DMA_REG_NUM	9
 #define GMAC_REG_NUM		55
-#define GMAC_DMA_REG_NUM	22
+#define GMAC_DMA_REG_NUM	23
 
 /* The DMA Registers start at offset 0x1000 in the DW IP */
 #define DMA_REG_OFFSET	(0x1000 / 4)
-- 
2.7.4

      parent reply	other threads:[~2017-06-28 15:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 15:13 [PATCHv2 0/3] ethtool: stmmac: Fix DMA register dump thor.thayer
2017-06-28 15:13 ` [PATCHv2 1/3] ethtool: stmmac: Fix Designware ethtool " thor.thayer
2017-07-06 20:22   ` Thor Thayer
2017-07-07  7:10     ` Giuseppe CAVALLARO
2017-06-28 15:13 ` [PATCHv2 2/3] ethtool: stmmac: Add macros for number of registers thor.thayer
2017-06-28 15:13 ` thor.thayer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1498662822-12173-4-git-send-email-thor.thayer@linux.intel.com \
    --to=thor.thayer@linux.intel.com \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).