qemu/hw/mips
David Gibson 29b358f93a pci: Add root bus parameter to pci_nic_init()
At present, pci_nic_init() and pci_nic_init_nofail() assume that they will
only create a NIC under the primary PCI root.  As we add support for
multiple PCI roots, that may no longer be the case.  This patch adds a root
bus parameter to pci_nic_init() (and updates callers accordingly) to allow
the machine init code using it to specify the right PCI root for NICs
created by old-style -net nic parameters.  NICs created new-style, with
-device can of course be put anywhere.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-07-07 23:10:57 +03:00
..
addr.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
cputimer.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
gt64xxx_pci.c hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
Makefile.objs hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
mips_fulong2e.c pci: Add root bus parameter to pci_nic_init() 2013-07-07 23:10:57 +03:00
mips_int.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mips_jazz.c cpu: Change cpu_exit() argument to CPUState 2013-06-28 13:25:12 +02:00
mips_malta.c pci: Add root bus parameter to pci_nic_init() 2013-07-07 23:10:57 +03:00
mips_mipssim.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mips_r4k.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00