Commit 7d681b23 authored by Kumar Gala's avatar Kumar Gala Committed by Linus Torvalds

[PATCH] ppc32: Fix MPC83xx IPIC external interrupt pending register offset

The pending registers for IRQ1-IRQ7 were pointing to the interrupt pending
register instead of the external one.
Signed-off-by: default avatarTony Li <Tony.Li@freescale.com>
Signed-off-by: default avatarKumar Gala <kumar.gala@freescale.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 340ea397
...@@ -79,7 +79,7 @@ static struct ipic_info ipic_info[] = { ...@@ -79,7 +79,7 @@ static struct ipic_info ipic_info[] = {
.prio_mask = 7, .prio_mask = 7,
}, },
[17] = { [17] = {
.pend = IPIC_SIPNR_H, .pend = IPIC_SEPNR,
.mask = IPIC_SEMSR, .mask = IPIC_SEMSR,
.prio = IPIC_SMPRR_A, .prio = IPIC_SMPRR_A,
.force = IPIC_SEFCR, .force = IPIC_SEFCR,
...@@ -87,7 +87,7 @@ static struct ipic_info ipic_info[] = { ...@@ -87,7 +87,7 @@ static struct ipic_info ipic_info[] = {
.prio_mask = 5, .prio_mask = 5,
}, },
[18] = { [18] = {
.pend = IPIC_SIPNR_H, .pend = IPIC_SEPNR,
.mask = IPIC_SEMSR, .mask = IPIC_SEMSR,
.prio = IPIC_SMPRR_A, .prio = IPIC_SMPRR_A,
.force = IPIC_SEFCR, .force = IPIC_SEFCR,
...@@ -95,7 +95,7 @@ static struct ipic_info ipic_info[] = { ...@@ -95,7 +95,7 @@ static struct ipic_info ipic_info[] = {
.prio_mask = 6, .prio_mask = 6,
}, },
[19] = { [19] = {
.pend = IPIC_SIPNR_H, .pend = IPIC_SEPNR,
.mask = IPIC_SEMSR, .mask = IPIC_SEMSR,
.prio = IPIC_SMPRR_A, .prio = IPIC_SMPRR_A,
.force = IPIC_SEFCR, .force = IPIC_SEFCR,
...@@ -103,7 +103,7 @@ static struct ipic_info ipic_info[] = { ...@@ -103,7 +103,7 @@ static struct ipic_info ipic_info[] = {
.prio_mask = 7, .prio_mask = 7,
}, },
[20] = { [20] = {
.pend = IPIC_SIPNR_H, .pend = IPIC_SEPNR,
.mask = IPIC_SEMSR, .mask = IPIC_SEMSR,
.prio = IPIC_SMPRR_B, .prio = IPIC_SMPRR_B,
.force = IPIC_SEFCR, .force = IPIC_SEFCR,
...@@ -111,7 +111,7 @@ static struct ipic_info ipic_info[] = { ...@@ -111,7 +111,7 @@ static struct ipic_info ipic_info[] = {
.prio_mask = 4, .prio_mask = 4,
}, },
[21] = { [21] = {
.pend = IPIC_SIPNR_H, .pend = IPIC_SEPNR,
.mask = IPIC_SEMSR, .mask = IPIC_SEMSR,
.prio = IPIC_SMPRR_B, .prio = IPIC_SMPRR_B,
.force = IPIC_SEFCR, .force = IPIC_SEFCR,
...@@ -119,7 +119,7 @@ static struct ipic_info ipic_info[] = { ...@@ -119,7 +119,7 @@ static struct ipic_info ipic_info[] = {
.prio_mask = 5, .prio_mask = 5,
}, },
[22] = { [22] = {
.pend = IPIC_SIPNR_H, .pend = IPIC_SEPNR,
.mask = IPIC_SEMSR, .mask = IPIC_SEMSR,
.prio = IPIC_SMPRR_B, .prio = IPIC_SMPRR_B,
.force = IPIC_SEFCR, .force = IPIC_SEFCR,
...@@ -127,7 +127,7 @@ static struct ipic_info ipic_info[] = { ...@@ -127,7 +127,7 @@ static struct ipic_info ipic_info[] = {
.prio_mask = 6, .prio_mask = 6,
}, },
[23] = { [23] = {
.pend = IPIC_SIPNR_H, .pend = IPIC_SEPNR,
.mask = IPIC_SEMSR, .mask = IPIC_SEMSR,
.prio = IPIC_SMPRR_B, .prio = IPIC_SMPRR_B,
.force = IPIC_SEFCR, .force = IPIC_SEFCR,
......
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