aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/mpc8544ds.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-12-12 13:53:53 +0100
committerAlexander Graf <agraf@suse.de>2012-12-14 13:12:57 +0100
commit492ec48dc2d99ca13b24d554e1970af7e2581e23 (patch)
tree340f69c98ae3c140dd64b519a9a04bb3d28c4583 /hw/ppc/mpc8544ds.c
parent347dd79dccf41a679115213da673dfd06c4c8cc8 (diff)
PPC: E500: Move PCI slot information into params
We have a params struct that allows us to expose differences between e500 machine models. Include PCI slot information there, so we can have different machines with different PCI slot topology. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/mpc8544ds.c')
-rw-r--r--hw/ppc/mpc8544ds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/mpc8544ds.c b/hw/ppc/mpc8544ds.c
index e651661941..7e1761d20c 100644
--- a/hw/ppc/mpc8544ds.c
+++ b/hw/ppc/mpc8544ds.c
@@ -40,6 +40,8 @@ static void mpc8544ds_init(QEMUMachineInitArgs *args)
.kernel_cmdline = kernel_cmdline,
.initrd_filename = initrd_filename,
.cpu_model = cpu_model,
+ .pci_first_slot = 0x11,
+ .pci_nr_slots = 2,
.fixup_devtree = mpc8544ds_fixup_devtree,
};