aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-09-06 11:06:10 -0700
committerJeff Garzik <jeff@garzik.org>2006-09-11 09:07:19 -0400
commit0486a8c83b0f83c52c4d93accd841e08ccdf04dc (patch)
tree793c5740cf6fd8a7bbad01e3b31fe122f81eb56b /drivers/net/skge.c
parent2a2fc64481ed48ef0952d03979b053d1e6ba89dc (diff)
downloadkernel_samsung_smdk4412-0486a8c83b0f83c52c4d93accd841e08ccdf04dc.zip
kernel_samsung_smdk4412-0486a8c83b0f83c52c4d93accd841e08ccdf04dc.tar.gz
kernel_samsung_smdk4412-0486a8c83b0f83c52c4d93accd841e08ccdf04dc.tar.bz2
[PATCH] skge: check for PCI hotplug during IRQ
Check if IRQ came from hardware fault (hotplug). Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r--drivers/net/skge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index 3f1b72e..fba8b74 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -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;