stmmac: do not discard frame on dribbling bit assert
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 15 Feb 2012 00:10:37 +0000 (00:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2012 19:52:10 +0000 (14:52 -0500)
commit1cc5a735185a963ed9324a65e1f2db02bf52c0d4
tree5e280cb7f6626080ab4ab8e2be01841fbaf6c4f6
parent72ba009b8a159e995e40d3b4e5d7d265acead983
stmmac: do not discard frame on dribbling bit assert

If this bit is set and the CRC error is reset, then the packet is valid.
Only report this as stat info.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/enh_desc.c
drivers/net/ethernet/stmicro/stmmac/norm_desc.c
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c