From: Dan Malek <dan@embeddededge.com>
To: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: 82xx IRQ handling
Date: Mon, 12 Dec 2005 00:01:26 -0500 [thread overview]
Message-ID: <dc0620490d9bef30d3a4b629483cd3f9@embeddededge.com> (raw)
In-Reply-To: <439CE3A2.8020603@rftechnology.com.au>
On Dec 11, 2005, at 9:42 PM, Dmytro Bablinyuk wrote:
> immap->im_intctl.ic_simrh &= ~(0x0800);
You should not be messing around with this register
in your code. The generic 82xx interrupt functions
will properly manage this for you.
> request_irq(IRQ,
> &irq_handler, /* our handler */
> irq_flags,
> "interrupt_test",
> NULL);
This is all you should do.
Thanks.
-- Dan
next prev parent reply other threads:[~2005-12-12 5:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 2:42 82xx IRQ handling Dmytro Bablinyuk
2005-12-12 5:01 ` Dan Malek [this message]
2005-12-12 6:00 ` Dmytro Bablinyuk
2005-12-12 14:28 ` Kumar Gala
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=dc0620490d9bef30d3a4b629483cd3f9@embeddededge.com \
--to=dan@embeddededge.com \
--cc=dmytro.bablinyuk@rftechnology.com.au \
--cc=linuxppc-embedded@ozlabs.org \
/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.