diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2011-08-08 14:30:55 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-20 01:19:55 +0200 |
commit | f9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636 (patch) | |
tree | 1154460114422872f7a02ad086726e7b23740135 /arch/powerpc/platforms/wsp/msi.h | |
parent | powerpc/wsp: Add PCIe Root support to PowerEN/WSP (diff) | |
download | linux-f9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636.tar.xz linux-f9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636.zip |
powerpc/wsp: Add MSI support for PCI on PowerEN
Based on a patch by Michael Ellerman <michael@ellerman.id.au>
Patch was simply forward ported upstream.
Jimi Xenidis <jimix@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to '')
-rw-r--r-- | arch/powerpc/platforms/wsp/msi.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/wsp/msi.h b/arch/powerpc/platforms/wsp/msi.h new file mode 100644 index 000000000000..0ab27b71b24d --- /dev/null +++ b/arch/powerpc/platforms/wsp/msi.h @@ -0,0 +1,19 @@ +/* + * Copyright 2011 Michael Ellerman, IBM Corp. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ + +#ifndef __WSP_MSI_H +#define __WSP_MSI_H + +#ifdef CONFIG_PCI_MSI +extern void wsp_setup_phb_msi(struct pci_controller *phb); +#else +static inline void wsp_setup_phb_msi(struct pci_controller *phb) { } +#endif + +#endif /* __WSP_MSI_H */ |