Commit 859ffd4f authored by David Woodhouse's avatar David Woodhouse Committed by Linus Torvalds

[PATCH] ppc32: Fix IRQ setup on WindRiver SBC8560

The internal interrupts are hardcoded to be level-triggered, but we need
to make sure the OpenPIC code knows that...
parent 74f6d57e
......@@ -61,38 +61,38 @@ extern unsigned long total_memory; /* in mm/init */
/* Internal interrupts are all Level Sensitive, and Positive Polarity */
static u_char sbc8560_openpic_initsenses[] __initdata = {
(IRQ_POLARITY_POSITIVE), /* Internal 0: L2 Cache */
(IRQ_POLARITY_POSITIVE), /* Internal 1: ECM */
(IRQ_POLARITY_POSITIVE), /* Internal 2: DDR DRAM */
(IRQ_POLARITY_POSITIVE), /* Internal 3: LBIU */
(IRQ_POLARITY_POSITIVE), /* Internal 4: DMA 0 */
(IRQ_POLARITY_POSITIVE), /* Internal 5: DMA 1 */
(IRQ_POLARITY_POSITIVE), /* Internal 6: DMA 2 */
(IRQ_POLARITY_POSITIVE), /* Internal 7: DMA 3 */
(IRQ_POLARITY_POSITIVE), /* Internal 8: PCI/PCI-X */
(IRQ_POLARITY_POSITIVE), /* Internal 9: RIO Inbound Port Write Error */
(IRQ_POLARITY_POSITIVE), /* Internal 10: RIO Doorbell Inbound */
(IRQ_POLARITY_POSITIVE), /* Internal 11: RIO Outbound Message */
(IRQ_POLARITY_POSITIVE), /* Internal 12: RIO Inbound Message */
(IRQ_POLARITY_POSITIVE), /* Internal 13: TSEC 0 Transmit */
(IRQ_POLARITY_POSITIVE), /* Internal 14: TSEC 0 Receive */
(IRQ_POLARITY_POSITIVE), /* Internal 15: Unused */
(IRQ_POLARITY_POSITIVE), /* Internal 16: Unused */
(IRQ_POLARITY_POSITIVE), /* Internal 17: Unused */
(IRQ_POLARITY_POSITIVE), /* Internal 18: TSEC 0 Receive/Transmit Error */
(IRQ_POLARITY_POSITIVE), /* Internal 19: TSEC 1 Transmit */
(IRQ_POLARITY_POSITIVE), /* Internal 20: TSEC 1 Receive */
(IRQ_POLARITY_POSITIVE), /* Internal 21: Unused */
(IRQ_POLARITY_POSITIVE), /* Internal 22: Unused */
(IRQ_POLARITY_POSITIVE), /* Internal 23: Unused */
(IRQ_POLARITY_POSITIVE), /* Internal 24: TSEC 1 Receive/Transmit Error */
(IRQ_POLARITY_POSITIVE), /* Internal 25: Fast Ethernet */
(IRQ_POLARITY_POSITIVE), /* Internal 26: DUART */
(IRQ_POLARITY_POSITIVE), /* Internal 27: I2C */
(IRQ_POLARITY_POSITIVE), /* Internal 28: Performance Monitor */
(IRQ_POLARITY_POSITIVE), /* Internal 29: Unused */
(IRQ_POLARITY_POSITIVE), /* Internal 30: CPM */
(IRQ_POLARITY_POSITIVE), /* Internal 31: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 0: L2 Cache */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 1: ECM */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 2: DDR DRAM */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 3: LBIU */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 4: DMA 0 */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 5: DMA 1 */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 6: DMA 2 */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 7: DMA 3 */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 8: PCI/PCI-X */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 9: RIO Inbound Port Write Error */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 10: RIO Doorbell Inbound */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 11: RIO Outbound Message */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 12: RIO Inbound Message */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 13: TSEC 0 Transmit */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 14: TSEC 0 Receive */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 15: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 16: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 17: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 18: TSEC 0 Receive/Transmit Error */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 19: TSEC 1 Transmit */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 20: TSEC 1 Receive */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 21: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 22: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 23: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 24: TSEC 1 Receive/Transmit Error */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 25: Fast Ethernet */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 26: DUART */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 27: I2C */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 28: Performance Monitor */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 29: Unused */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 30: CPM */
(IRQ_SENSE_LEVEL | IRQ_POLARITY_POSITIVE), /* Internal 31: Unused */
0x0, /* External 0: */
0x0, /* External 1: */
#if defined(CONFIG_PCI)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment