diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2013-08-28 18:55:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-30 17:26:09 -0400 |
commit | e2a240c7d3bcebf90936cc7c22c2729b3a4cec1f (patch) | |
tree | 3f64f44e21ffb77d25c5680cc92ffe579ae9648b /Documentation/networking | |
parent | 816c5b5b016acde51f0547cf1657d87cf22a6d47 (diff) | |
download | op-kernel-dev-e2a240c7d3bcebf90936cc7c22c2729b3a4cec1f.zip op-kernel-dev-e2a240c7d3bcebf90936cc7c22c2729b3a4cec1f.tar.gz |
driver:net:stmmac: Disable DMA store and forward mode if platform data force_thresh_dma_mode is set.
Some synopsys ip implementation doesn't support DMA store and forward mode,
such as BF60x. So, set force_thresh_dma_mode to use DMA thresholds only.
Update document and devicetree as well.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/stmmac.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/networking/stmmac.txt b/Documentation/networking/stmmac.txt index 654d2e5..457b8bb 100644 --- a/Documentation/networking/stmmac.txt +++ b/Documentation/networking/stmmac.txt @@ -123,6 +123,7 @@ struct plat_stmmacenet_data { int bugged_jumbo; int pmt; int force_sf_dma_mode; + int force_thresh_dma_mode; int riwt_off; void (*fix_mac_speed)(void *priv, unsigned int speed); void (*bus_setup)(void __iomem *ioaddr); @@ -159,6 +160,8 @@ Where: o pmt: core has the embedded power module (optional). o force_sf_dma_mode: force DMA to use the Store and Forward mode instead of the Threshold. + o force_thresh_dma_mode: force DMA to use the Shreshold mode other than + the Store and Forward mode. o riwt_off: force to disable the RX watchdog feature and switch to NAPI mode. o fix_mac_speed: this callback is used for modifying some syscfg registers (on ST SoCs) according to the link speed negotiated by the |