stmmac: Allow SOCs to use Store forward mode eventhough tx_coe is 0. (V2)
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Sun, 17 Jul 2011 20:54:09 +0000 (20:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2011 17:47:24 +0000 (10:47 -0700)
commit61b8013a114cb041db2c56f747953cac69637f26
treeadc39f580015301e9be3e74bef360de8145512fd
parenteb0dc4bb2e22c04964d6e9545e86f629f117108b
stmmac: Allow SOCs to use Store forward mode eventhough tx_coe is 0. (V2)

This patch adds new field 'force_sf_dma_mode' to plat_stmmacenet_data
struct to allow users to specify if they want to use force store forward
eventhough tx_coe is not available in hw.
without this flag stmmac driver will use cut-thru mode not use
store-forward mode.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/stmmac_main.c
include/linux/stmmac.h