]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf493820d42dfe9e101985f663014b035d25f9f80
tree97a8cde6648329e3b4877c477ea89d1c51323b71
parent0d39d2713eb5afb67c0933d7eacfd1f88393baac
ethoc: clear only pending irqs

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>
drivers/net/ethoc.c