]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit6e6f400f5381e08dc80e1b5a37ed02a081c179d9
tree40eb251b991f078a62dd1b73b606956446c7db62
parente2e6be56df37c371f564e127c154036b0c2211a1
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