[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/5] PPC: fix mpc8544ds pci default devices
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 5/5] PPC: fix mpc8544ds pci default devices |
Date: |
Thu, 2 Jun 2011 08:33:03 +0200 |
After the Qdev'ification of the MPC8544DS board and PCI bus, the internal
PCI bus name changed from "pci" to "pci.0". Reflect this change in the
search for that bus.
This patch enables networking on e500 guests again.
Signed-off-by: Alexander Graf <address@hidden>
---
hw/ppce500_mpc8544ds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 17b0165..6b57fbf 100644
--- a/hw/ppce500_mpc8544ds.c
+++ b/hw/ppce500_mpc8544ds.c
@@ -275,7 +275,7 @@ static void mpc8544ds_init(ram_addr_t ram_size,
mpic[pci_irq_nrs[0]], mpic[pci_irq_nrs[1]],
mpic[pci_irq_nrs[2]], mpic[pci_irq_nrs[3]],
NULL);
- pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci");
+ pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci.0");
if (!pci_bus)
printf("couldn't create PCI controller!\n");
--
1.6.0.2
- [Qemu-devel] [PULL 0/5] PPC patch queue June 03 2011, Alexander Graf, 2011/06/03
- [Qemu-devel] [PATCH 2/5] PPC: fix sregs usage on booke, Alexander Graf, 2011/06/03
- [Qemu-devel] [PATCH 3/5] PPC: install mpc8544ds.dtb, Alexander Graf, 2011/06/03
- [Qemu-devel] [PATCH 4/5] Fix segfault on screendump with -nographic, Alexander Graf, 2011/06/03
- [Qemu-devel] [PATCH 1/5] ppc: Fix compilation for ppc64-softmmu, Alexander Graf, 2011/06/03
- [Qemu-devel] [PATCH 5/5] PPC: fix mpc8544ds pci default devices,
Alexander Graf <=
- Re: [Qemu-devel] [PULL 0/5] PPC patch queue June 03 2011, Aurelien Jarno, 2011/06/03