]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6d439301c9571514cea825ce9982492ba0292da
tree9361a0d038f515409a1ac105f518967600652cbd
parent6ae51526c65a157bde015bebc038185a4dac619c
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