linux-mips
[Top] [All Lists]

Re: 2.6.20-rc: au1x irqs broken

To: mano@roarinelk.homelinux.net
Subject: Re: 2.6.20-rc: au1x irqs broken
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 02 Feb 2007 16:18:57 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <20070202061356.GA23661@roarinelk.homelinux.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070202061356.GA23661@roarinelk.homelinux.net>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 2 Feb 2007 07:13:56 +0100, Manuel Lauss <mano@roarinelk.homelinux.net> 
wrote:
> mips-git commit 1603b5aca14f15b34848fb5594d0c7b6333b99144 broke
> au1x irqs. The kernel boots; however it is not able to
> mount nfsroot. Reverting the arch/mips/au1000/common/irq.c
> bits of the above commit fixes it.

Thank you for report.  But I can not see how that change break au1x.
You are using au1000_eth driver, and the driver use level irq, right?

Does reverting just only this part work?

 static struct irq_chip level_irq_type = {
        .typename = "Au1000 Level",
-       .startup = startup_irq,
-       .shutdown = shutdown_irq,
-       .enable = local_enable_irq,
-       .disable = local_disable_irq,
        .ack = mask_and_ack_level_irq,
+       .mask = local_disable_irq,
+       .mask_ack = mask_and_ack_level_irq,
+       .unmask = local_enable_irq,
        .end = end_irq,
 };
 
And if it was work, does reverting only 4 lines removal part work?

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>