projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16dd18b
)
ethoc: clear only pending irqs
author
Thomas Chou
<
[email protected]
>
Wed, 7 Oct 2009 14:16:43 +0000
(14:16 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 19 Oct 2009 04:24:16 +0000
(21:24 -0700)
This patch fixed the problem of dropped packets due to lost of
interrupt requests. We should only clear what was pending at the
moment we read the irq source reg.
Signed-off-by: Thomas Chou <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethoc.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethoc.c
b/drivers/net/ethoc.c
index 88a1c5223069df15d185ba22d33aaaa4741cd0bd..590473afb3dc2c7970bea4e096868689a7dcf4bc 100644
(file)
--- a/
drivers/net/ethoc.c
+++ b/
drivers/net/ethoc.c
@@
-508,7
+508,7
@@
static irqreturn_t ethoc_interrupt(int irq, void *dev_id)
return IRQ_NONE;
}
- ethoc_ack_irq(priv,
INT_MASK_ALL
);
+ ethoc_ack_irq(priv,
pending
);
if (pending & INT_MASK_BUSY) {
dev_err(&dev->dev, "packet dropped\n");