[POWERPC] PowerPC MSI infrastructure
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 8 May 2007 02:58:34 +0000 (12:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 May 2007 03:40:31 +0000 (13:40 +1000)
commitdf87ef5508b40fc655b6c4771be31741d8ec1596
treedf6062876a6abc11bdb5accf47f1d51f01a2ed11
parentf728b5c3a599d0410a079f447f921a10be7d59d6
[POWERPC] PowerPC MSI infrastructure

This provides the architecture specific hooks to support MSI on
powerpc.  We implement the newly added arch_setup_msi_irqs() and
arch_teardown_msi_irqs(), and then delegate to ppc_md routines.

Platforms that don't implement MSI will leave the ppc_md calls blank,
arch_msi_check_device() will detect this and return ENOSYS. Drivers
should detect this error and continue to use LSI.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/msi.c [new file with mode: 0644]
include/asm-powerpc/machdep.h