stmmac: if force_thresh_dma_mode is set, pass tc to both txmode and rxmode in tx_hard...
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 22 Jan 2015 06:55:56 +0000 (14:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2015 23:48:01 +0000 (15:48 -0800)
commitc405abe2e0623b7841a88d43add2c7c9bc3e74a9
tree69507de29e8f482af7f87494a0699d56b7bc87ab
parent6039e3dff09c6b55612125c53127827723b80ce9
stmmac: if force_thresh_dma_mode is set, pass tc to both txmode and rxmode in tx_hard_error_bump_tc interrupt

Dont' pass SF_DMA_MODE to rxmode in this case.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c