aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-10-02 16:52:57 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-03 12:00:50 -0700
commit968a2978cb39a754750d35a47049781660682a31 (patch)
treeaa3fe2e05dcd6356c961ebf2380b35fcfd9fe2e7 /include/linux
parentr8152: Add identifier names for function pointers (diff)
downloadlinux-dev-968a2978cb39a754750d35a47049781660682a31.tar.xz
linux-dev-968a2978cb39a754750d35a47049781660682a31.zip
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index dc60d03c4b60..86f9464c3f5d 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -92,6 +92,7 @@ struct stmmac_dma_cfg {
int fixed_burst;
int mixed_burst;
bool aal;
+ bool eame;
};
#define AXI_BLEN 7