提交 4fb6088a 编写于 作者: T Thomas Gleixner 提交者: H. Peter Anvin

x86, pci: Add arch_init to x86_init abstraction

Added an abstraction function for arch specific init calls.
Signed-off-by: NJacob Pan <jacob.jun.pan@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
LKML-Reference: <43F901BD926A4E43B106BF17856F0755A318CE84@orsmsx508.amr.corp.intel.com>
Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
上级 4b2f3f7d
......@@ -98,13 +98,15 @@ struct x86_init_iommu {
int (*iommu_init)(void);
};
/*
* struct x86_init_pci - platform specific pci init functions
* @init: platform specific pci init
/**
* struct x86_init_pci - platform specific pci init functions
* @arch_init: platform specific pci arch init call
* @init: platform specific pci subsystem init
* @init_irq: platform specific pci irq init
* @fixup_irqs: platform specific pci irq fixup
*/
struct x86_init_pci {
int (*arch_init)(void);
int (*init)(void);
void (*init_irq)(void);
void (*fixup_irqs)(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册