All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] [sky2] Fix for interrupt handler
@ 2012-07-04  9:38 Mirko Lindner
  2012-10-25 22:36 ` Jonathan Nieder
  0 siblings, 1 reply; 6+ messages in thread
From: Mirko Lindner @ 2012-07-04  9:38 UTC (permalink / raw)
  To: davem; +Cc: shemminger, netdev


Re-enable interrupts if it is not our interrupt


Signed-off-by: Mirko Lindner <mlindner@marvell.com>
---
 drivers/net/ethernet/marvell/sky2.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index f1163b2..2b0748d 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -3080,8 +3080,10 @@ static irqreturn_t sky2_intr(int irq, void *dev_id)
 
 	/* Reading this mask interrupts as side effect */
 	status = sky2_read32(hw, B0_Y2_SP_ISRC2);
-	if (status == 0 || status == ~0)
+	if (status == 0 || status == ~0) {
+		sky2_write32(hw, B0_Y2_SP_ICR, 2);
 		return IRQ_NONE;
+	}
 
 	prefetch(&hw->st_le[hw->st_idx]);
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-14  5:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-04  9:38 [PATCH 2/2] [sky2] Fix for interrupt handler Mirko Lindner
2012-10-25 22:36 ` Jonathan Nieder
2012-11-03 10:04   ` [3.0.y, 3.2.y, 3.4.y] " Jonathan Nieder
2012-11-12  8:24     ` Jonathan Nieder
2012-11-13  8:14     ` David Miller
2012-11-14  5:49       ` Ben Hutchings

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.