linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: MERRITT Nigel <Nigel.Merritt@tenix.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Interrupts on PPC 405Gr
Date: Thu, 5 Feb 2004 22:43:49 -0800	[thread overview]
Message-ID: <20040206064349.GA7205@gate.ebshome.net> (raw)
In-Reply-To: <200402060645.RAA20828@sprint.tenix.com>


On Fri, Feb 06, 2004 at 05:45:17PM +1100, MERRITT Nigel wrote:
> When calling request_irq, the irq number had to be 30, which is the bit
> in the UIC0_ER register that needs setting.  I was passing it 5, which
> is the IRQ I wanted setting.  When I changed the IRQ number to 30 it
> worked!  I'm not sure if this is a screw up on my part for not passing
> the correct value in the first place, or an error in the Timesys kernel
> (surely the number passed in should be the IRQ required, not the bit
> position in the UIC registers).

It's your error, just think what you have to pass to request_irq if
you want to hook UART0 interrupt...

IRQ5 - is _external_ (to the chip) interrupt line and NOT an interrupt
number. _All_ UIC interrupts are external to the core (but not
all of them are IRQx lines).

Eugene.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2004-02-06  6:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-06  6:45 Interrupts on PPC 405Gr MERRITT Nigel
2004-02-06  6:43 ` Eugene Surovegin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-06  3:37 MERRITT Nigel
2004-02-06  3:52 ` Eugene Surovegin
2004-02-06  2:47 MERRITT Nigel
2004-02-06  3:08 ` Eugene Surovegin

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=20040206064349.GA7205@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=Nigel.Merritt@tenix.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 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).