From 05448b64c0d737d0e5cd1b3d658058ca14a92b80 Mon Sep 17 00:00:00 2001 From: kaloz Date: Thu, 27 Jan 2011 12:51:25 +0000 Subject: [target/leon]: add preliminary LEON support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25139 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../leon/patches/011-greth_fix_unhandled_irq.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/leon/patches/011-greth_fix_unhandled_irq.patch (limited to 'target/linux/leon/patches/011-greth_fix_unhandled_irq.patch') diff --git a/target/linux/leon/patches/011-greth_fix_unhandled_irq.patch b/target/linux/leon/patches/011-greth_fix_unhandled_irq.patch new file mode 100644 index 000000000..55e6185a2 --- /dev/null +++ b/target/linux/leon/patches/011-greth_fix_unhandled_irq.patch @@ -0,0 +1,21 @@ +From 3d7788e8f5ae3d44e48f9b7476528acf3d9c8b32 Mon Sep 17 00:00:00 2001 +From: Daniel Hellstrom +Date: Wed, 20 Oct 2010 17:07:12 +0200 +Subject: [PATCH] GRETH: Fixed potential future problem where unhandled IRQ is cleared. + +Signed-off-by: Daniel Hellstrom +--- + drivers/net/greth.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- a/drivers/net/greth.c ++++ b/drivers/net/greth.c +@@ -584,7 +584,7 @@ static irqreturn_t greth_interrupt(int i + if (status & (GRETH_INT_RX | GRETH_INT_TX)) { + + /* Clear interrupt status */ +- GRETH_REGORIN(greth->regs->status, ++ GRETH_REGSAVE(greth->regs->status, + status & (GRETH_INT_RX | GRETH_INT_TX)); + + retval = IRQ_HANDLED; -- cgit v1.2.3