]> err.no Git - linux-2.6/commitdiff
[PATCH] sky2: interrupt not cleared.
authorStephen Hemminger <shemminger@osdl.org>
Thu, 1 Dec 2005 16:41:32 +0000 (08:41 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 4 Dec 2005 01:29:03 +0000 (20:29 -0500)
One of the rearrangements dropped this and it means
sky2 spins in napi/interrupt.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/sky2.c

index a1884b472cd0038d2ace85adea3788bc9ed26313..7dc5b4821ae469613f870a7914742cd16a56b633 100644 (file)
@@ -1739,6 +1739,7 @@ static int sky2_poll(struct net_device *dev0, int *budget)
        unsigned int work_done = 0;
        u16 hwidx;
 
+       sky2_write32(hw, STAT_CTRL, SC_STAT_CLR_IRQ);
        hwidx = sky2_read16(hw, STAT_PUT_IDX);
        BUG_ON(hwidx >= STATUS_RING_SIZE);
        rmb();