[POWERPC] cpm2: CPM2 interrupt controller fix
authorVitaly Bordug <vbordug@ru.mvista.com>
Tue, 30 Jan 2007 23:08:54 +0000 (02:08 +0300)
committerPaul Mackerras <paulus@samba.org>
Wed, 7 Feb 2007 03:03:20 +0000 (14:03 +1100)
commit73844ecbaa58885c5e89af7d1b08faaffffa6833
treedf2a4f20261e2cf348347786362dff0701e54359
parentc19cdcb1b8d33a20d372191eced2def7f901806b
[POWERPC] cpm2: CPM2 interrupt controller fix

This contains important fixes for the CPM2 PIC code. Eliminated
CPM_IRQ_OFFSET, pulling the respective interrupt numbers from the interrupt
mapping. Updated devicetree files to reflect that. Changed direct
IC-related IO accesses to the IO accessors. Fixed all the sense values to
keep coherency with ipic. In the current code, CPM2 stuff will have no IRQs
and hence could be hardly usable.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/dts/mpc8272ads.dts
arch/powerpc/boot/dts/mpc8560ads.dts
arch/powerpc/sysdev/cpm2_pic.c
arch/powerpc/sysdev/cpm2_pic.h
include/asm-powerpc/mpc8260.h [new file with mode: 0644]