mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
pci_bridge: make pci bridge aware of pci multi function bit.
make pci bridge aware of pci multi function property and let pci generic code to set the bit. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
fecb93c45c
commit
7c7b829e46
4 changed files with 8 additions and 6 deletions
|
@ -55,7 +55,7 @@ PCIBus *pci_dec_21154_init(PCIBus *parent_bus, int devfn)
|
|||
|
||||
dev = qdev_create(NULL, "dec-21154");
|
||||
qdev_init_nofail(dev);
|
||||
ret = pci_bridge_init(parent_bus, devfn,
|
||||
ret = pci_bridge_init(parent_bus, devfn, false,
|
||||
PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_21154,
|
||||
dec_map_irq, "DEC 21154 PCI-PCI bridge");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue