aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc/syslib/cpm2_pic.c
diff options
context:
space:
mode:
authorKumar Gala <galak@gate.crashing.org>2005-11-10 10:34:33 -0600
committerPaul Mackerras <paulus@samba.org>2005-11-11 22:19:56 +1100
commit7f7fda04a6a00d2b99990cec2182bf5181c53de1 (patch)
tree93ef50b1d3fef5535d0302067a92f44f71fb3558 /arch/ppc/syslib/cpm2_pic.c
parent5e04e7fe774794b837e1d3897e6b96ae2d06679a (diff)
[PATCH] ppc32: fix PQ2 PCI DMA interrupt handling
The bit position in the status register corresponding to the PCI DMA interrupt was incorrect. Additionally, we did not have a define for the PCI DMA interrupt. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/syslib/cpm2_pic.c')
-rw-r--r--arch/ppc/syslib/cpm2_pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/cpm2_pic.c b/arch/ppc/syslib/cpm2_pic.c
index c867be6981c..29d95d415ce 100644
--- a/arch/ppc/syslib/cpm2_pic.c
+++ b/arch/ppc/syslib/cpm2_pic.c
@@ -37,7 +37,7 @@ static u_char irq_to_siureg[] = {
static u_char irq_to_siubit[] = {
0, 15, 14, 13, 12, 11, 10, 9,
8, 7, 6, 5, 4, 3, 2, 1,
- 2, 1, 15, 14, 13, 12, 11, 10,
+ 2, 1, 0, 14, 13, 12, 11, 10,
9, 8, 7, 6, 5, 4, 3, 0,
31, 30, 29, 28, 27, 26, 25, 24,
23, 22, 21, 20, 19, 18, 17, 16,