[x86] merge the olpc target with the x86 target, both tested and running
[openwrt.git] / target / linux / coldfire / patches / 069-m5445x_fecint_nest_1.patch
1 From 8809b176ecde425d13cab8920a66fbfd6fb4c3b7 Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Tue, 24 Jun 2008 23:26:54 -0600
4 Subject: [PATCH] Make sure interrupt handler calls aren't nested.
5
6 LTIBName: m5445x-fecint-nest
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
8 ---
9 drivers/net/fec.c | 5 ++++-
10 1 files changed, 4 insertions(+), 1 deletions(-)
11
12 --- a/drivers/net/fec.c
13 +++ b/drivers/net/fec.c
14 @@ -23,6 +23,9 @@
15 *
16 * Bug fixes and cleanup by Philippe De Muyter (phdm@macqel.be)
17 * Copyright (c) 2004-2006 Macq Electronique SA.
18 + *
19 + * Coldfire bug fixes and cleanup by Kurt Mahan (kmahan@freescale.com)
20 + * Copyright 2007-2008 Freescale Semiconductor, Inc. All Rights Reserved.
21 */
22
23 #include <linux/module.h>
24 @@ -1865,7 +1868,7 @@ static void __inline__ fec_request_intrs
25
26 /* Setup interrupt handlers. */
27 for (idp = id; idp->name; idp++) {
28 - if (request_irq(b+idp->irq, fec_enet_interrupt, 0,
29 + if (request_irq(b+idp->irq, fec_enet_interrupt, IRQF_DISABLED,
30 idp->name, dev) != 0)
31 printk(KERN_ERR "FEC: Could not alloc %s IRQ(%d)!\n",
32 idp->name, b+idp->irq);
This page took 0.05606 seconds and 5 git commands to generate.