mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
pci: Allow PCI bus creation interfaces to specify the type of bus
No change to any types. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
cf09458d64
commit
60a0e44320
24 changed files with 40 additions and 35 deletions
|
@ -124,7 +124,7 @@ static int sh_pci_device_init(SysBusDevice *dev)
|
|||
s->irq,
|
||||
get_system_memory(),
|
||||
get_system_io(),
|
||||
PCI_DEVFN(0, 0), 4);
|
||||
PCI_DEVFN(0, 0), 4, TYPE_PCI_BUS);
|
||||
memory_region_init_io(&s->memconfig_p4, &sh_pci_reg_ops, s,
|
||||
"sh_pci", 0x224);
|
||||
memory_region_init_alias(&s->memconfig_a7, "sh_pci.2", &s->memconfig_p4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue