ar71xx: add a workaround for ar8316 not always driving the TA bit to low
[openwrt.git] / target / linux / leon / patches / 011-greth_fix_unhandled_irq.patch
1 From 3d7788e8f5ae3d44e48f9b7476528acf3d9c8b32 Mon Sep 17 00:00:00 2001
2 From: Daniel Hellstrom <daniel@gaisler.com>
3 Date: Wed, 20 Oct 2010 17:07:12 +0200
4 Subject: [PATCH] GRETH: Fixed potential future problem where unhandled IRQ is cleared.
5
6 Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
7 ---
8 drivers/net/greth.c | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11 --- a/drivers/net/greth.c
12 +++ b/drivers/net/greth.c
13 @@ -584,7 +584,7 @@ static irqreturn_t greth_interrupt(int i
14 if (status & (GRETH_INT_RX | GRETH_INT_TX)) {
15
16 /* Clear interrupt status */
17 - GRETH_REGORIN(greth->regs->status,
18 + GRETH_REGSAVE(greth->regs->status,
19 status & (GRETH_INT_RX | GRETH_INT_TX));
20
21 retval = IRQ_HANDLED;
This page took 0.04122 seconds and 5 git commands to generate.