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

[PATCH] skge: check for PCI hotplug during IRQ

Check if IRQ came from hardware fault (hotplug).
Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 2a2fc644
......@@ -2884,7 +2884,7 @@ static irqreturn_t skge_intr(int irq, void *dev_id, struct pt_regs *regs)
spin_lock(&hw->hw_lock);
/* Reading this register masks IRQ */
status = skge_read32(hw, B0_SP_ISRC);
if (status == 0)
if (status == 0 || status == ~0)
goto out;
handled = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册