提交 f89c2b46 编写于 作者: S Stephen Hemminger 提交者: Jeff Garzik

[PATCH] sky2: interrupt not cleared.

One of the rearrangements dropped this and it means
sky2 spins in napi/interrupt.
Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 d359b6ff
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册