kernel-ark/arch/powerpc/sysdev
Zang Roy-r61911 7233593b78 [POWERPC] Support for "weird" MPICs and fixup mpc7448_hpc2
This adds a new hardware information table for mpic. This enables
the mpic code to deal with mpic controllers with different register
layouts and hardware behaviours.

This introduces CONFIG_MPIC_WEIRD.  For boards with non standard mpic
controllers, select CONFIG_MPIC_WEIRD and add its hardware information
in the mpic_infos[] array.

TSI108/109 PIC takes the first index of weird hardware information
table.  :)  The table can be extended. The Tsi108/109 PIC looks like
standard OpenPIC but, in fact, is different in register mapping and
behavior.

The patch does not affect the behavior of standard mpic.  If
CONFIG_MPIC_WEIRD is not defined, the code is essentially identical to
the current code.

[benh@kernel.crashing.org:
This patch is a slightly cleaned up version of Zang Roy's support for
the TSI108 MPIC variant. It also fixes up MPC7448_hpc2 to use the new
version of the type macros and changes the way MPIC is selected in
Kconfig to better match what is done for other system devices.
]

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-08-30 14:29:42 +10:00
..
dart_iommu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dart.h [POWERPC] U4 DART improvements 2006-06-29 16:22:46 +10:00
dcr.S
fsl_soc.c [POWERPC] Rewrite the PPC 86xx IRQ handling to use Flat Device Tree 2006-08-23 15:51:18 +10:00
fsl_soc.h
grackle.c
i8259.c [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
indirect_pci.c
ipic.c [POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ sense 2006-08-30 10:34:33 +10:00
ipic.h [POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ sense 2006-08-30 10:34:33 +10:00
Makefile [POWERPC] back up old school ipic.[hc] to arch/ppc 2006-08-30 10:34:33 +10:00
mmio_nvram.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
mpic.c [POWERPC] Support for "weird" MPICs and fixup mpc7448_hpc2 2006-08-30 14:29:42 +10:00
todc.c [POWERPC] todc: add support for Time-Of-Day-Clock 2006-06-29 16:22:46 +10:00
tsi108_dev.c [POWERPC] Update mpc7448hpc2 board irq support using device tree 2006-08-23 15:51:18 +10:00
tsi108_pci.c [POWERPC] Update mpc7448hpc2 board irq support using device tree 2006-08-23 15:51:18 +10:00