From: Guy Streeter <guy.streeter@gmail.com>
To: linux-mips <linux-mips@linux-mips.org>
Subject: NR_IRQS and possible irq values on malta
Date: Thu, 3 Feb 2005 16:26:34 -0600 [thread overview]
Message-ID: <52dd17640502031426660c7196@mail.gmail.com> (raw)
In mips_pcibios_iack() the irq number is obtained like this:
irq = GT_READ(GT_PCI0_IACK_OFS);
irq &= 0xff;
(for coreLV, but similarly for others). This value is used to index
into an array of size NR_IRQS, which is set in mach-generic/irq.h to
128.
I realize that when things work right, the value of irq isn't likely
to get that big, but it seems to me it should be masked down to 127 or
the NR_IRQS value should be larger. I have no opinion which is the
right thing to do.
--Guy
next reply other threads:[~2005-02-03 22:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-03 22:26 Guy Streeter [this message]
2005-02-03 22:45 ` NR_IRQS and possible irq values on malta Maciej W. Rozycki
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=52dd17640502031426660c7196@mail.gmail.com \
--to=guy.streeter@gmail.com \
--cc=linux-mips@linux-mips.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.