[ARM] iop13xx: msi support
authorDaniel Wolstenholme <daniel.e.wolstenholme@intel.com>
Fri, 11 May 2007 05:33:02 +0000 (22:33 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 11 May 2007 16:41:52 +0000 (17:41 +0100)
commit2fd0237538480c8d704c385b6f9abc3f6c46b760
tree4f4052fb01ec00d4717bc7741602e02aa9833ef6
parent87b247c41674e29f90bf4938799ab079951ccc6b
[ARM] iop13xx: msi support

Enable devices to signal interrupts via PCI memory cycles.

rev6:
* fix enable/disable typo, Michael Ellerman

rev5:
* fix up ack, enable, and disable for iop13xx_msi_chip

rev4:
* move smp compile fix to separate patch
* use dynamic_irq_init in create_irq()
* hookup mask/unmask routines in iop13xx_msi_chip

rev3:
* change msi.c to use linux/smp.h instead of asm/smp.h
* call dynamic_irq_cleanup at destroy_irq time

rev2:
* destroy_irq did not take the full 128 bits of msi_irq_in_use into account
* added missing '&' for calls to test_and_set_bit and clear_bit

[ebiederm@xmission.com: review comments/suggestions]
[dan.j.williams@intel.com: cleanups/forward port to 2.6-git]
Signed-off-by: Daniel Wolstenholme <daniel.e.wolstenholme@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-iop13xx/Makefile
arch/arm/mach-iop13xx/irq.c
arch/arm/mach-iop13xx/msi.c [new file with mode: 0644]
arch/arm/mach-iop13xx/pci.c
include/asm-arm/arch-iop13xx/iop13xx.h
include/asm-arm/arch-iop13xx/irqs.h
include/asm-arm/arch-iop13xx/msi.h [new file with mode: 0644]