OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2fc64
)
[PATCH] skge: check for PCI hotplug during IRQ
author
Stephen Hemminger
<shemminger@osdl.org>
Wed, 6 Sep 2006 18:06:10 +0000
(11:06 -0700)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 11 Sep 2006 13:07:19 +0000
(09:07 -0400)
Check if IRQ came from hardware fault (hotplug).
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c
patch
|
blob
|
history
diff --git
a/drivers/net/skge.c
b/drivers/net/skge.c
index
3f1b72e
..
fba8b74
100644
(file)
--- 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;