summaryrefslogtreecommitdiffstats
path: root/hw/apb_pci.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-06-23 16:15:32 +0900
committerBlue Swirl <blauwirbel@gmail.com>2010-07-11 20:01:00 +0300
commit7c7b829e469d9ababc0a34ab2a033db965c57a50 (patch)
treea5444032f1bccde12d4da5e486eab6a745dbefb3 /hw/apb_pci.c
parentfecb93c45c749a4c994d8d12bdee17ce2012de9e (diff)
downloadhqemu-7c7b829e469d9ababc0a34ab2a033db965c57a50.zip
hqemu-7c7b829e469d9ababc0a34ab2a033db965c57a50.tar.gz
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>
Diffstat (limited to 'hw/apb_pci.c')
-rw-r--r--hw/apb_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index 69a774d..fd11459 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -350,13 +350,13 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base,
pci_create_simple(d->bus, 0, "pbm");
/* APB secondary busses */
- *bus2 = pci_bridge_init(d->bus, PCI_DEVFN(1, 0),
+ *bus2 = pci_bridge_init(d->bus, PCI_DEVFN(1, 0), true,
PCI_VENDOR_ID_SUN, PCI_DEVICE_ID_SUN_SIMBA,
pci_apb_map_irq,
"Advanced PCI Bus secondary bridge 1");
apb_pci_bridge_init(*bus2);
- *bus3 = pci_bridge_init(d->bus, PCI_DEVFN(1, 1),
+ *bus3 = pci_bridge_init(d->bus, PCI_DEVFN(1, 1), true,
PCI_VENDOR_ID_SUN, PCI_DEVICE_ID_SUN_SIMBA,
pci_apb_map_irq,
"Advanced PCI Bus secondary bridge 2");
OpenPOWER on IntegriCloud