All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Yoni Levin <yoni.l@slyde-tech.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: interrupts in mpc8313
Date: Tue, 31 Jul 2007 08:35:24 -0500	[thread overview]
Message-ID: <46AF3A9C.4090007@freescale.com> (raw)
In-Reply-To: <1A95C6D899744E16A71AFFB2CF1C11B1.MAI@mail.livedns.co.il>

Yoni Levin wrote:
> I tried to use the function request_irq :
> 
>  
> 
> Ret=Request_irq(71,interrupt_handler,SA_INTERUPT,"dma_irq",NULL);

arch/ppc or arch/powerpc?

If the latter, you need to translate the hardware IRQ into a virtual 
IRQ.  The easiest way to do this is to put the DMA node into the device 
tree and use of_irq_to_resource().

Plus, this obviously isn't the exact code you're running, as the 
spelling and capitalization errors would keep it from compiling.

-Scott

  reply	other threads:[~2007-07-31 13:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31  7:53 interrupts in mpc8313 Yoni Levin
2007-07-31 13:35 ` Scott Wood [this message]
2007-07-31 13:53   ` Yoni Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46AF3A9C.4090007@freescale.com \
    --to=scottwood@freescale.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=yoni.l@slyde-tech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.