]> git.baikalelectronics.ru Git - kernel.git/commit
net/phy: fix DP83865 phy interrupt handler
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 22 Aug 2011 21:07:14 +0000 (21:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:48:24 +0000 (12:48 -0400)
commit5cfbb0385e102b27954cbf9db4cd56e0914e55d1
tree40eb251b991f078a62dd1b73b606956446c7db62
parent9dc76cb6e2abe02bd527a797858e4590f497d0dc
net/phy: fix DP83865 phy interrupt handler

According to the DP83865 datasheet we need to clear
the interrupt status bit by writing a 1 to the
corresponding bit in INT_CLEAR (2:0 are reserved).

Proposed and tested by Thorsten.

Signed-off-by: Thorsten Schubert <tshu@msc-ge.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/national.c