From: Thierry Reding <treding@xxxxxxxxxx> 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