path: root/hw/piix4.c
diff options
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-06-23 16:15:31 +0900
committerBlue Swirl <blauwirbel@gmail.com>2010-07-11 20:01:00 +0300
commitfecb93c45c749a4c994d8d12bdee17ce2012de9e (patch)
treef351be04bb60edb60cb493b8c6bf834a4abd8056 /hw/piix4.c
parent498238687fd3a2bf3efb32694732f88ceac72e99 (diff)
pci: set multifunction property for normal device.
use pci_create_simple_multifunction() for normal device which sets multifunction bit. At the moment, only pc_piix.c and mips_malta.c uses multifunction devices with piix3/4 pci-isa bridge. And other boards don't populate those devices. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/piix4.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/piix4.c b/hw/piix4.c
index 6f08c5a6d..902d6daca 100644
--- a/hw/piix4.c
+++ b/hw/piix4.c
@@ -105,7 +105,7 @@ int piix4_init(PCIBus *bus, int devfn)
PCIDevice *d;
- d = pci_create_simple(bus, devfn, "PIIX4");
+ d = pci_create_simple_multifunction(bus, devfn, true, "PIIX4");
return d->devfn;