]> 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)
commit9f619b32ee9a9ee0da480f78107200ad5336afa1
tree9361a0d038f515409a1ac105f518967600652cbd
parentad2cf95a0acdc1968c289f51d4e43937c7486dc6
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