android_kernel_motorola_sm6225/arch/powerpc/sysdev
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
..
dart.h [PATCH] powerpc: Experimental support for new G5 Macs (#2) 2006-01-09 15:03:17 +11:00
dart_iommu.c [POWERPC] node local IOMMU tables 2006-06-15 19:31:26 +10:00
dcr.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
fsl_soc.c [PATCH] powerpc: Add platform support for MPC834x USB controllers 2006-02-07 22:38:41 +11:00
fsl_soc.h [PATCH] powerpc: Add FSL SOC library and setup code 2006-01-14 11:13:22 +11:00
grackle.c powerpc: Pull out MPC106 (grackle) initialization code into its own file 2005-10-26 17:16:38 +10:00
i8259.c [PATCH] powerpc: Fix i8259 cascade IRQ 2005-11-07 12:36:25 +11:00
indirect_pci.c powerpc: Use arch/powerpc/mm and arch/powerpc/lib for 64-bit 2005-10-10 22:25:26 +10:00
ipic.c [PATCH] powerpc: moved ipic code to arch/powerpc 2006-01-09 14:48:57 +11:00
ipic.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
Makefile [POWERPC] Optimise some TOC usage 2006-06-15 19:31:25 +10:00
mmio_nvram.c [PATCH] powerpc: move mmio_nvram.c over to arch/powerpc 2005-11-01 21:03:04 +11:00
mpic.c [POWERPC] mpic: add support for serial mode interrupts 2006-06-21 15:01:32 +10:00