Re: Failure of request_irq() for MPC8313 using arch=powerpc

2008-07-22 Thread Duy-Ky Nguyen
; <[EMAIL PROTECTED]> To: "Duy-Ky Nguyen" <[EMAIL PROTECTED]> Cc: "Liu Dave" <[EMAIL PROTECTED]>; Sent: Tuesday, July 22, 2008 10:55 AM Subject: Re: Failure of request_irq() for MPC8313 using arch=powerpc On Tue, Jul 15, 2008 at 08:43:59PM -0700, Duy-Ky Ng

Re: Failure of request_irq() for MPC8313 using arch=powerpc

2008-07-22 Thread Scott Wood
On Tue, Jul 15, 2008 at 08:43:59PM -0700, Duy-Ky Nguyen wrote: > Hi Dave, > > I've just tried it and it failed. Could you elaborate on exactly what you tried? Did you pass the GPIO device tree node? > Before I had tried using the function > int virq = of_irq_to_resource(GPIO_IRQ, 0, NULL); > an

Re: Failure of request_irq() for MPC8313 using arch=powerpc

2008-07-15 Thread Duy-Ky Nguyen
810010 90010024 <83e30014> 2f9f 419e0028 2e05 Segmentation fault // End of Capture - Original Message - From: Liu Dave To: Duy-Ky Nguyen ; linuxppc-embedded@ozlabs.org Sent: Tuesday, July 15, 2008 7:09 PM Subject: RE: Failure of request_irq() for MPC8313 using arch=

RE: Failure of request_irq() for MPC8313 using arch=powerpc

2008-07-15 Thread Liu Dave
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Duy-Ky Nguyen Sent: 2008?7?16? 8:59 AM To: linuxppc-embedded@ozlabs.org Subject: Failure of request_irq() for MPC8313 using arch=powerpc Hello, I had no problem in using request_irq() for

Failure of request_irq() for MPC8313 using arch=powerpc

2008-07-15 Thread Duy-Ky Nguyen
Hello, I had no problem in using request_irq() for MPC8272 with arch=ppc from Montavista Linux But I have failure for MPC8313 with arch=powerpc from FreeScale LTIB Linux with error code -38 I found its header file mpc83xx.h under include/asm-ppc, while it's supposed to be under include/asm-po