aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches/069-m5445x_fecint_nest_1.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-06-23 21:04:37 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-06-23 21:04:37 +0000
commitec03ced5fa6eb25eee164839268b538abb965e99 (patch)
tree6d3382662fa3ad4119d3a3cda223c53949ca4894 /target/linux/coldfire/patches/069-m5445x_fecint_nest_1.patch
parent777de3a39c4b92ad53b2b9363f405d0c4c28847a (diff)
downloadupstream-ec03ced5fa6eb25eee164839268b538abb965e99.tar.gz
upstream-ec03ced5fa6eb25eee164839268b538abb965e99.tar.bz2
upstream-ec03ced5fa6eb25eee164839268b538abb965e99.zip
use broken-out patches for the coldfire to make it easier to follow differences against the bsp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16547 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/coldfire/patches/069-m5445x_fecint_nest_1.patch')
-rw-r--r--target/linux/coldfire/patches/069-m5445x_fecint_nest_1.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/coldfire/patches/069-m5445x_fecint_nest_1.patch b/target/linux/coldfire/patches/069-m5445x_fecint_nest_1.patch
new file mode 100644
index 0000000000..a3f14eb2f0
--- /dev/null
+++ b/target/linux/coldfire/patches/069-m5445x_fecint_nest_1.patch
@@ -0,0 +1,32 @@
+From 8809b176ecde425d13cab8920a66fbfd6fb4c3b7 Mon Sep 17 00:00:00 2001
+From: Kurt Mahan <kmahan@freescale.com>
+Date: Tue, 24 Jun 2008 23:26:54 -0600
+Subject: [PATCH] Make sure interrupt handler calls aren't nested.
+
+LTIBName: m5445x-fecint-nest
+Signed-off-by: Kurt Mahan <kmahan@freescale.com>
+---
+ drivers/net/fec.c | 5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+--- a/drivers/net/fec.c
++++ b/drivers/net/fec.c
+@@ -23,6 +23,9 @@
+ *
+ * Bug fixes and cleanup by Philippe De Muyter (phdm@macqel.be)
+ * Copyright (c) 2004-2006 Macq Electronique SA.
++ *
++ * Coldfire bug fixes and cleanup by Kurt Mahan (kmahan@freescale.com)
++ * Copyright 2007-2008 Freescale Semiconductor, Inc. All Rights Reserved.
+ */
+
+ #include <linux/module.h>
+@@ -1865,7 +1868,7 @@ static void __inline__ fec_request_intrs
+
+ /* Setup interrupt handlers. */
+ for (idp = id; idp->name; idp++) {
+- if (request_irq(b+idp->irq, fec_enet_interrupt, 0,
++ if (request_irq(b+idp->irq, fec_enet_interrupt, IRQF_DISABLED,
+ idp->name, dev) != 0)
+ printk(KERN_ERR "FEC: Could not alloc %s IRQ(%d)!\n",
+ idp->name, b+idp->irq);