diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-06-23 16:15:32 +0900 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-07-11 20:01:00 +0300 |
commit | 7c7b829e469d9ababc0a34ab2a033db965c57a50 (patch) | |
tree | a5444032f1bccde12d4da5e486eab6a745dbefb3 /hw/apb_pci.c | |
parent | fecb93c45c749a4c994d8d12bdee17ce2012de9e (diff) |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c index 69a774d98b..fd11459980 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"); |