diff options
author | Jiang Liu <jiang.liu@huawei.com> | 2012-06-22 02:55:15 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-22 17:16:45 -0400 |
commit | 9c95111b330d2ddf851444528a7608f267cbb50c (patch) | |
tree | 79c6eaa49d79c7ca5c1b9fdd0feb62db9852e887 /arch/x86/include/asm | |
parent | 95c5e92f4f691bbaba40bbf3decfc8e13b6ea897 (diff) |
x86/PCI: add pci_mmconfig_insert()/delete() for PCI root bridge hotplug
Introduce pci_mmconfig_insert()/pci_mmconfig_delete(), which will be used
to update MMCONFIG information when supporting PCI root bridge hotplug.
Reviewed-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/pci_x86.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h index df898ceab4d4..af5018f3d7c3 100644 --- a/arch/x86/include/asm/pci_x86.h +++ b/arch/x86/include/asm/pci_x86.h | |||
@@ -137,6 +137,10 @@ extern int __init pci_mmcfg_arch_init(void); | |||
137 | extern void __init pci_mmcfg_arch_free(void); | 137 | extern void __init pci_mmcfg_arch_free(void); |
138 | extern int __devinit pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg); | 138 | extern int __devinit pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg); |
139 | extern void pci_mmcfg_arch_unmap(struct pci_mmcfg_region *cfg); | 139 | extern void pci_mmcfg_arch_unmap(struct pci_mmcfg_region *cfg); |
140 | extern int __devinit pci_mmconfig_insert(struct device *dev, | ||
141 | u16 seg, u8 start, | ||
142 | u8 end, phys_addr_t addr); | ||
143 | extern int pci_mmconfig_delete(u16 seg, u8 start, u8 end); | ||
140 | extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus); | 144 | extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus); |
141 | 145 | ||
142 | extern struct list_head pci_mmcfg_list; | 146 | extern struct list_head pci_mmcfg_list; |