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)
commitdcd07be3ffab7d20f4d498369e7526f6f4945257
tree00d4eb7adcf9d1cf0219143454e8729a131c3408
parenta8729eb302a5b5da8b0b4d29582c42648a2e0f12
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