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>
此提交包含在:

提交者
Benjamin Herrenschmidt

父節點
f352c72512
當前提交
f9a71e0fd1
19
arch/powerpc/platforms/wsp/msi.h
一般檔案
19
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 */
|
新增問題並參考
封鎖使用者