net: stmmac: Only enable enhanced addressing mode when needed

Enhanced addressing mode is only required when more than 32 bits need to
be addressed. Add a DMA configuration parameter to enable this mode only
when needed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Thierry Reding
2019-10-02 16:52:57 +02:00
committed by David S. Miller
parent 151ea09437
commit 968a2978cb
3 changed files with 12 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ struct stmmac_dma_cfg {
int fixed_burst;
int mixed_burst;
bool aal;
bool eame;
};
#define AXI_BLEN 7