summaryrefslogtreecommitdiff
path: root/hw/pci.h
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/pci.h
parentfecb93c45c749a4c994d8d12bdee17ce2012de9e (diff)
downloadqemu-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/pci.h')
-rw-r--r--hw/pci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 2097a7ca9f..1eab7e7dda 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -233,7 +233,8 @@ int pci_read_devaddr(Monitor *mon, const char *addr, int *domp, int *busp,
void do_pci_info_print(Monitor *mon, const QObject *data);
void do_pci_info(Monitor *mon, QObject **ret_data);
-PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did,
+PCIBus *pci_bridge_init(PCIBus *bus, int devfn, bool multifunction,
+ uint16_t vid, uint16_t did,
pci_map_irq_fn map_irq, const char *name);
PCIDevice *pci_bridge_get_device(PCIBus *bus);