linux/arch/powerpc
Mark A. Greer 868ea0c925 [POWERPC] mpic: add support for serial mode interrupts
On Tue, Jun 20, 2006 at 02:01:26PM +1000, Benjamin Herrenschmidt wrote:
> On Mon, 2006-06-19 at 13:08 -0700, Mark A. Greer wrote:
> > MPC10x-style interrupt controllers have a serial mode that allows
> > several interrupts to be clocked in through one INT signal.
> >
> > This patch adds the software support for that mode.
>
> You hard code the clock ratio... why not add a separate call to be
> called after mpic_init,
> something like mpic_set_serial_int(int mpic, int enable, int
> clock_ratio) ?

How's this?
--

MPC10x-style interrupt controllers have a serial mode that allows
several interrupts to be clocked in through one INT signal.

This patch adds the software support for that mode.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
--

 arch/powerpc/sysdev/mpic.c |   20 ++++++++++++++++++++
 include/asm-powerpc/mpic.h |   10 ++++++++++
 2 files changed, 30 insertions(+)
--
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-21 15:01:32 +10:00
..
boot [POWERPC] Editable kernel command-line in zImage binary. 2006-06-15 19:31:25 +10:00
configs [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts 2006-06-21 15:01:31 +10:00
kernel [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
lib [POWERPC] Optimise some TOC usage 2006-06-15 19:31:25 +10:00
math-emu powerpc: move math-emu over to arch/powerpc 2006-03-27 23:43:27 -06:00
mm [POWERPC] Add starting of secondary 86xx CPUs. 2006-06-21 15:01:28 +10:00
oprofile [POWERPC] Optimise some TOC usage 2006-06-15 19:31:25 +10:00
platforms [POWERPC] pseries: Print PCI slot location code on failure 2006-06-21 15:01:32 +10:00
sysdev [POWERPC] mpic: add support for serial mode interrupts 2006-06-21 15:01:32 +10:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts 2006-06-21 15:01:31 +10:00
Kconfig.debug [PATCH] powerpc: Make early debugging options behave with oldconfig 2006-05-19 14:35:23 +10:00
Makefile [POWERPC] Remove stale 64bit on 32bit kernel code 2006-06-15 19:31:26 +10:00