aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet.c
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-01-07 11:05:00 -0800
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 12:53:06 +0100
commitdbb103b243e09475c84df2b8ef17615975593761 (patch)
tree80e99c4b63aac1d9e10e0845f29931e2d61cf79c /drivers/staging/octeon/ethernet.c
parent6b07d38aaa520cee922fadfeaf90c97faf217045 (diff)
downloadkernel_samsung_smdk4412-dbb103b243e09475c84df2b8ef17615975593761.zip
kernel_samsung_smdk4412-dbb103b243e09475c84df2b8ef17615975593761.tar.gz
kernel_samsung_smdk4412-dbb103b243e09475c84df2b8ef17615975593761.tar.bz2
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.c')
0 files changed, 0 insertions, 0 deletions