From: David S. Miller Date: Mon, 17 Jul 2006 05:10:44 +0000 (-0700) Subject: [SPARC64]: Fix more of_device layer IRQ bugs, and correct PROMREG_MAX. X-Git-Tag: v2.6.18-rc3~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46ba6d7d8b0486e9d565729880ddfb2b84d3af31;p=pandora-kernel.git [SPARC64]: Fix more of_device layer IRQ bugs, and correct PROMREG_MAX. Sabre and Psycho PCI controllers can have partial interrupt-map properties, meaning that on-board devices don't match up to any entries. Instead, they are fully specified from the beginning and we should pass them directly to the IRQ translator as-is. Also, fill in the necessary translator slots for the "graphics" and "expansion UPA" interrupts on Sabre, Psycho, and SYSIO SBUS. Increase PROMREG_MAX to 24, as seen on SUNW,ffb devices. Finally, prevent accidentally writing past the end of the of_device struct resource[] and irqs[] arrays. Spit out a log message when we ignore some entries because there are too many of them. Signed-off-by: David S. Miller --- Reading git-diff-tree failed