stmmac: hardware TX COE doesn't work when force_thresh_dma_mode is set
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 22 Jan 2015 06:55:57 +0000 (14:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2015 23:48:01 +0000 (15:48 -0800)
commitdec2165ff38a99f937fe61875d102c6c8596c815
treeef8058cb2b79fa11fa93f02dcb89d78f1ed6aa06
parentc405abe2e0623b7841a88d43add2c7c9bc3e74a9
stmmac: hardware TX COE doesn't work when force_thresh_dma_mode is set

Clear the TX COE bit when force_thresh_dma_mode is set even hardware
dma capability says support.

Tested on BF609.

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>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c