diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
commit | 0027b06d0ef6450a52f96827d303865d7333b196 (patch) | |
tree | 4908081e17470d26434428d749b7cc9a0b281584 /hw/versatilepb.c | |
parent | 0e058a8a6aab56565677dc3a7f994b0c8f191a48 (diff) | |
download | qemu-0027b06d0ef6450a52f96827d303865d7333b196.tar.gz qemu-0027b06d0ef6450a52f96827d303865d7333b196.tar.bz2 qemu-0027b06d0ef6450a52f96827d303865d7333b196.zip |
ARM PCI host qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r-- | hw/versatilepb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c index 13a8e19401..ecbd3bf2e3 100644 --- a/hw/versatilepb.c +++ b/hw/versatilepb.c @@ -199,7 +199,10 @@ static void versatile_init(ram_addr_t ram_size, sysbus_create_simple("pl050_keyboard", 0x10006000, sic[3]); sysbus_create_simple("pl050_mouse", 0x10007000, sic[4]); - pci_bus = pci_vpb_init(sic + 27, 0); + dev = sysbus_create_varargs("versatile_pci", 0x40000000, + sic[27], sic[28], sic[29], sic[30], NULL); + pci_bus = qdev_get_child_bus(dev, "pci"); + /* The Versatile PCI bridge does not provide access to PCI IO space, so many of the qemu PCI devices are not useable. */ for(n = 0; n < nb_nics; n++) { |