From: Dan Malek <dan@embeddededge.com>
To: Nate Pletcher <pletch@po.cwru.edu>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: using cpm interrupts on 8xx
Date: Wed, 22 May 2002 23:20:57 -0400 [thread overview]
Message-ID: <3CEC6019.8060700@embeddededge.com> (raw)
In-Reply-To: 1022079528.1226.15.camel@soundgarden
Nate Pletcher wrote:
> ... Do I need to register a handler for the SIU
> interrupt for the CPM and then another handler for the individual IDMA
> interrupt from the CPM?
All you need to do is use cpm_install_handler() for the IDMA interrupt.
> The interrupt hardware on the 8xx is multilevel (CPM interrupts
> multiplexed into SIU) so it seems that both functions would be
> necessary.
The cpm initialization installs the SIU interrupt handler, so don't
worry about that one.
> .... What do I need to do myself and what is
> provided by the request_/free_irq interface?
For your IDMA device all you need to do is cpm_install_handler()/cpm_free_handler().
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-05-23 3:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-22 14:58 using cpm interrupts on 8xx Nate Pletcher
2002-05-23 3:20 ` Dan Malek [this message]
[not found] <20020522162110.447DF1196F@denx.denx.de>
2002-05-23 19:01 ` Nate Pletcher
2002-05-23 19:09 ` Tom Rini
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=3CEC6019.8060700@embeddededge.com \
--to=dan@embeddededge.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=pletch@po.cwru.edu \
/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 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).