Skip to content

Commit

Permalink
[PATCH] sky2: interrupt not cleared.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Dec 4, 2005
1 parent d359b6f commit f89c2b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f89c2b4

Please sign in to comment.