diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-01-07 11:05:00 -0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 12:53:06 +0100 |
commit | dbb103b243e09475c84df2b8ef17615975593761 (patch) | |
tree | 80e99c4b63aac1d9e10e0845f29931e2d61cf79c /drivers/staging/octeon/ethernet-defines.h | |
parent | 6b07d38aaa520cee922fadfeaf90c97faf217045 (diff) |
MIPS: Octeon: Fix EOI handling.
If an interrupt handler disables interrupts, the EOI function will
just reenable them. This will put us in an endless loop when the
upcoming Ethernet driver patches are applied.
Only reenable the interrupt on EOI if it is not IRQ_DISABLED. This
requires that the EOI function be separate from the ENABLE function.
We also rename the ACK functions to correspond with their function.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
To: gregkh@suse.de
Patchwork: http://patchwork.linux-mips.org/patch/840/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-defines.h')
0 files changed, 0 insertions, 0 deletions