uninorth: move PCI host bridge bus initialisation into device realize
commit32cde6154cd252bfa23d05f43a165797e2430ff4
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 6 Mar 2018 20:30:53 +0000 (6 20:30 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Apr 2018 08:05:22 +0000 (27 18:05 +1000)
tree07b317913a1b9672072e6bad223da7b2fe1f9e21
parent0b065209549fdd503fe109b09d78500bb05c9f7f
uninorth: move PCI host bridge bus initialisation into device realize

Since the IO address space is fixed to use the standard system IO address
space then we can also use the opportunity to remove the address_space_io
parameter from pci_pmac_init() and pci_pmac_u3_init().

Note we also move the default mac99 PCI bus to the end of the initialisation
list so that it becomes the default destination for any devices specified
via -device without an explicit PCI bus provided.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/uninorth.c
hw/ppc/mac.h
hw/ppc/mac_newworld.c