]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb732acd849c5b7fecb5296c6635d22b717782c3
tree0f6542b09c2265401331fb78b39bffbb26274fc8
parentca2c7734729b00c98b289e0b2db82bd71efe21f2
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