[Top] [All Lists]

NR_IRQS and possible irq values on malta

To: linux-mips <>
Subject: NR_IRQS and possible irq values on malta
From: Guy Streeter <>
Date: Thu, 3 Feb 2005 16:26:34 -0600
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=kGm4iJEh/FdRE2vedsT4LHCchyZwPU5VXWgcSrXqnhsry0YxIoehqU1PvjFcisPRgobeqOBGMiR9eAT5R4LXN/RAdsMBvCD+XRJADGhexjcoEbLasF0BDX81t58WmnxvDwwFUHW+6AGB0TmBMCapau8V6mjwkZ1THpV/cfGom7k=
Original-recipient: rfc822;
Reply-to: Guy Streeter <>
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
 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.


<Prev in Thread] Current Thread [Next in Thread>