diff options
author | Jonas Bonn | 2010-11-25 02:30:29 +0000 |
---|---|---|
committer | David S. Miller | 2010-11-28 11:16:36 -0800 |
commit | fa98eb0e867c6c16e239545d4deb7ad8f40631b3 (patch) | |
tree | d07c00d2cd4c2073d92f8d9aebb4cbb4f3a35631 /init | |
parent | 20f70ddd6558a39a89dba4af675686c5a8dbd7b3 (diff) |
ethoc: rework interrupt handling
The old interrupt handling was incorrect in that it did not account for the
fact that the interrupt source bits get set irregardless of whether or not
their corresponding mask is set. This patch fixes that by masking off the
source bits for masked interrupts.
Furthermore, the handling of transmission events is moved to the NAPI polling
handler alongside the reception handler, thus preventing a whole bunch of
interrupts during heavy traffic.
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions