summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-iop13xx/msi.h
diff options
context:
space:
mode:
authorDaniel Wolstenholme <daniel.e.wolstenholme@intel.com>2007-05-10 22:33:02 -0700
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-11 17:41:52 +0100
commit2fd0237538480c8d704c385b6f9abc3f6c46b760 (patch)
tree4f4052fb01ec00d4717bc7741602e02aa9833ef6 /include/asm-arm/arch-iop13xx/msi.h
parent87b247c41674e29f90bf4938799ab079951ccc6b (diff)
downloadkernel-crypto-2fd0237538480c8d704c385b6f9abc3f6c46b760.tar.gz
kernel-crypto-2fd0237538480c8d704c385b6f9abc3f6c46b760.tar.xz
kernel-crypto-2fd0237538480c8d704c385b6f9abc3f6c46b760.zip
[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>
Diffstat (limited to 'include/asm-arm/arch-iop13xx/msi.h')
-rw-r--r--include/asm-arm/arch-iop13xx/msi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-arm/arch-iop13xx/msi.h b/include/asm-arm/arch-iop13xx/msi.h
new file mode 100644
index 00000000000..b80c5ae17e9
--- /dev/null
+++ b/include/asm-arm/arch-iop13xx/msi.h
@@ -0,0 +1,11 @@
+#ifndef _IOP13XX_MSI_H_
+#define _IOP13XX_MSI_H_
+#ifdef CONFIG_PCI_MSI
+void iop13xx_msi_init(void);
+#else
+static inline void iop13xx_msi_init(void)
+{
+ return;
+}
+#endif
+#endif