aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-09-06 14:06:10 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-11 09:07:19 -0400
commit0486a8c83b0f83c52c4d93accd841e08ccdf04dc (patch)
tree793c5740cf6fd8a7bbad01e3b31fe122f81eb56b /drivers/net/skge.c
parent2a2fc64481ed48ef0952d03979b053d1e6ba89dc (diff)
[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 3f1b72eb3492..fba8b7455d8b 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)
2884 spin_lock(&hw->hw_lock); 2884 spin_lock(&hw->hw_lock);
2885 /* Reading this register masks IRQ */ 2885 /* Reading this register masks IRQ */
2886 status = skge_read32(hw, B0_SP_ISRC); 2886 status = skge_read32(hw, B0_SP_ISRC);
2887 if (status == 0) 2887 if (status == 0 || status == ~0)
2888 goto out; 2888 goto out;
2889 2889
2890 handled = 1; 2890 handled = 1;