x86/PCI: update MMCONFIG information when hot-plugging PCI host bridges
This patch enhances x86 arch-specific code to update MMCONFIG information when PCI host bridge hotplug event happens. Reviewed-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jiang Liu <liuj97@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
@@ -126,7 +126,7 @@ static int pci_mmcfg_write(unsigned int seg, unsigned int bus,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct pci_raw_ops pci_mmcfg = {
|
||||
const struct pci_raw_ops pci_mmcfg = {
|
||||
.read = pci_mmcfg_read,
|
||||
.write = pci_mmcfg_write,
|
||||
};
|
||||
|
Reference in New Issue
Block a user