]> git.baikalelectronics.ru Git - kernel.git/commit
phylib: Add interrupt source check function to M88E1121R driver
authorAnatolij Gustschin <agust@denx.de>
Tue, 7 Apr 2009 02:01:43 +0000 (02:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2009 21:51:25 +0000 (14:51 -0700)
commit8f7c4afcf6445ec208b3b5f7b16966ea73a19ff1
tree00d4eb7adcf9d1cf0219143454e8729a131c3408
parentab8aab5e27e975984efc09f0010479b9caa93c39
phylib: Add interrupt source check function to M88E1121R driver

Add did_interrupt() function to check if a PHY port
really caused an interrupt. This is needed in the case
of shared PHY interrupt pin configuration to stop
interrupt event processing for PHY ports which didn't
cause an interrupt.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c