linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Failure of request_irq()  for MPC8313 using arch=powerpc
@ 2008-07-16  0:58 Duy-Ky Nguyen
  2008-07-16  2:09 ` Liu Dave
  0 siblings, 1 reply; 5+ messages in thread
From: Duy-Ky Nguyen @ 2008-07-16  0:58 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

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-powerpc.

I did try to copy the header file to directory asm-powerpc

>From MPC8313 datasheet, I have 

GPIO_IRQ = 74

and I use

DEVICE_NAME = "ppc"
IRQ_FLAG = IRQF_SHARED    // use new flag
here my function call

request_irq (GPIO_IRQ,
      ppc_ISR,  
      IRQ_FLAG,
      DEVICE_NAME,   
      NULL);   

I'd appreciate any help on this problem.

Best Regards,

Duy-Kyng


[-- Attachment #2: Type: text/html, Size: 2511 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-23  1:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16  0:58 Failure of request_irq() for MPC8313 using arch=powerpc Duy-Ky Nguyen
2008-07-16  2:09 ` Liu Dave
2008-07-16  3:43   ` Duy-Ky Nguyen
2008-07-22 17:55     ` Scott Wood
2008-07-23  1:54       ` Duy-Ky Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).