stmmac: mask mmc interrupts
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Fri, 18 Nov 2011 05:00:20 +0000 (05:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2011 20:31:15 +0000 (15:31 -0500)
commit4f795b25eaf1109c77abfc3b57cef9b993f3aede
tree0f6542b09c2265401331fb78b39bffbb26274fc8
parentba9bb431d3156a1c5d4d6f0b8c23b5792e9e9f4f
stmmac: mask mmc interrupts

We need to mask the MMC irq otherwise if we raise the mmc
interrupts that are not handled the driver loops in the
handler.
In fact, by default all mmc counters (only used for stats)
are managed in SW and registers are cleared on each READ.

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