Subject: Re: GPIO interrupts on mpc8313e

From: Domen Puncer <[email-masked]>
Date: Thu, 2 Aug 2007 08:11:47 +0200

On 01/08/07 13:36 -0500, Scott Wood wrote:
> On Wed, Aug 01, 2007 at 02:45:05PM +0300, Yoni Levin wrote:
> > request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);
>                          ^^^^^^^^^^^^^
> 
> Did you try removing that flag (or calling enable_irq())?

>>From interrupt.h:
38  * IRQF_DISABLED - keep irqs disabled when calling the action handler

>> irq_create_mapping(NULL,74);
>> request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);

Request irq should use virq that irq_create_mapping returns.

Maybe there's another "enable global GPIO interrupts" register, that
needs to be set too?

	Domen