powerpc/83xx: Fix incorrect PCI interrupt map in SBC834x DTS
authorLiang Li <liang.li@windriver.com>
Wed, 12 Aug 2009 13:34:30 +0000 (09:34 -0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 25 Aug 2009 01:48:09 +0000 (20:48 -0500)
Allows interrupts to occur on the sbc834x. Currently PCI devices
get assigned an incorrect IRQ and so the interrupt count never
increases. This was tested with the 82546GB based dual port E1000
PCI-X NIC which uses two distinct IRQ lines on the one card.

root@localhost:/root> cat /proc/interrupts | grep eth
17:         78   IPIC   Level     eth1
48:      27121   IPIC   Level     eth0

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Yang Shi <yang.shi@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/sbc8349.dts

index b83036a..0dc90f9 100644 (file)
                interrupt-map = <
 
                                /* IDSEL 0x11 */
-                                0x8800 0x0 0x0 0x1 &ipic 20 0x8
-                                0x8800 0x0 0x0 0x2 &ipic 21 0x8
-                                0x8800 0x0 0x0 0x3 &ipic 22 0x8
-                                0x8800 0x0 0x0 0x4 &ipic 23 0x8>;
+                                0x8800 0x0 0x0 0x1 &ipic 48 0x8
+                                0x8800 0x0 0x0 0x2 &ipic 17 0x8
+                                0x8800 0x0 0x0 0x3 &ipic 18 0x8
+                                0x8800 0x0 0x0 0x4 &ipic 19 0x8>;
 
                interrupt-parent = <&ipic>;
                interrupts = <0x42 0x8>;