ethoc: clear only pending irqs
authorThomas Chou <thomas@wytron.com.tw>
Wed, 7 Oct 2009 14:16:43 +0000 (14:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <thomas@wytron.com.tw>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found