net: icplus: fix interrupt mask
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 4 Jun 2012 05:51:18 +0000 (05:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2012 16:02:40 +0000 (12:02 -0400)
commit9ec0db71af04f4560e27a3c2f5a0411ba3155198
tree9361a0d038f515409a1ac105f518967600652cbd
parent3ab2cdd02850d53d32369e51c0ae2dbcf8a66e55
net: icplus: fix interrupt mask

This patch fixes the interrupt mask for IC101 A/G devices
and now enables the link/speed/duplex interrupts.
This is done by setting the "INTR pin used" bit and cleaning
all the other bits in the Register 17.

Reported-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c