Skip to content

Commit

Permalink
[POWERPC] 85xx: sbc8548 - Fix incorrect PCI-X and PCI interrupt map
Browse files Browse the repository at this point in the history
The following patch allows interrupts to occur on the
sbc8548. Currently PCI and PCI-X devices get assigned an IRQ
but the interrupt count never increases.  This solves the
problem and adds PCI support as well.

Signed-off-by: Jeremy McNicoll <jeremy.mcnicoll@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Jeremy McNicoll authored and Kumar Gala committed Mar 7, 2008
1 parent 6f91316 commit 3e0d65b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions arch/powerpc/boot/dts/sbc8548.dts
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,17 @@
cell-index = <0>;
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
interrupt-map = <
/* IDSEL 0x01 (PCI-X slot) */
0x0800 0x0 0x0 0x1 &mpic 0x0 0x1
0x0800 0x0 0x0 0x2 &mpic 0x1 0x1
0x0800 0x0 0x0 0x3 &mpic 0x2 0x1
0x0800 0x0 0x0 0x4 &mpic 0x3 0x1>;
/* IDSEL 0x01 (PCI-X slot) @66MHz */
0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
0x0800 0x0 0x0 0x4 &mpic 0x1 0x1

/* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;

interrupt-parent = <&mpic>;
interrupts = <0x18 0x2>;
Expand Down

0 comments on commit 3e0d65b

Please sign in to comment.