netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] net: stmmac: Enhanced addressing mode for DWMAC 4.10
@ 2019-10-02 14:52 Thierry Reding
  2019-10-02 14:52 ` [PATCH net-next v4 1/2] net: stmmac: Only enable enhanced addressing mode when needed Thierry Reding
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thierry Reding @ 2019-10-02 14:52 UTC (permalink / raw)
  To: David S . Miller
  Cc: Jose Abreu, Alexandre Torgue, Giuseppe Cavallaro,
	Florian Fainelli, Jon Hunter, Bitan Biswas, netdev, linux-tegra

From: Thierry Reding <treding@nvidia.com>

The DWMAC 4.10 supports the same enhanced addressing mode as later
generations. Parse this capability from the hardware feature registers
and set the EAME (Enhanced Addressing Mode Enable) bit when necessary.

Thierry

Thierry Reding (2):
  net: stmmac: Only enable enhanced addressing mode when needed
  net: stmmac: Support enhanced addressing mode for DWMAC 4.10

 drivers/net/ethernet/stmicro/stmmac/dwmac4.h  |  1 +
 .../ethernet/stmicro/stmmac/dwmac4_descs.c    |  4 +--
 .../net/ethernet/stmicro/stmmac/dwmac4_dma.c  | 28 +++++++++++++++++++
 .../net/ethernet/stmicro/stmmac/dwmac4_dma.h  |  3 ++
 .../ethernet/stmicro/stmmac/dwxgmac2_dma.c    |  5 +++-
 .../net/ethernet/stmicro/stmmac/stmmac_main.c |  7 +++++
 include/linux/stmmac.h                        |  1 +
 7 files changed, 46 insertions(+), 3 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-03  0:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-02 14:52 [PATCH net-next v4 0/2] net: stmmac: Enhanced addressing mode for DWMAC 4.10 Thierry Reding
2019-10-02 14:52 ` [PATCH net-next v4 1/2] net: stmmac: Only enable enhanced addressing mode when needed Thierry Reding
2019-10-02 14:52 ` [PATCH net-next v4 2/2] net: stmmac: Support enhanced addressing mode for DWMAC 4.10 Thierry Reding
2019-10-03  0:24 ` [PATCH net-next v4 0/2] net: stmmac: Enhanced " David Miller

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).