stmmac: fix rx checksum programming
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 25 Aug 2014 12:56:18 +0000 (14:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2014 22:33:10 +0000 (15:33 -0700)
commit978aded4b39de7f441bb9bfb18cf830de6a968d3
tree6929ae570f39992f0fcb96c6a65fbf22f057aef2
parent4c75431ac3520631f1d9e74aa88407e6374dbbc4
stmmac: fix rx checksum programming

This patch is to fix the IPC bit into the GMAC control register
that must be done after the core initialization otherwise it will
not have any effect.

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