[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 18/32] PPC: Use default pci bus name for grackle and
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PULL 18/32] PPC: Use default pci bus name for grackle and heathrow |
Date: |
Fri, 20 Dec 2013 02:00:40 +0100 |
There's no good reason to call our bus "pci" rather than let the default
bus name take over ("pci.0").
The big downside to calling it different from anyone else is that tools
that pass -device get confused. They are looking for a bus "pci.0" rather
than "pci".
To make life easier for everyone, let's just drop the name override.
Signed-off-by: Alexander Graf <address@hidden>
---
hw/pci-host/grackle.c | 2 +-
hw/pci-host/uninorth.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/pci-host/grackle.c b/hw/pci-host/grackle.c
index 4991ec4..75b60d3 100644
--- a/hw/pci-host/grackle.c
+++ b/hw/pci-host/grackle.c
@@ -82,7 +82,7 @@ PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic,
memory_region_add_subregion(address_space_mem, 0x80000000ULL,
&d->pci_hole);
- phb->bus = pci_register_bus(dev, "pci",
+ phb->bus = pci_register_bus(dev, NULL,
pci_grackle_set_irq,
pci_grackle_map_irq,
pic,
diff --git a/hw/pci-host/uninorth.c b/hw/pci-host/uninorth.c
index 91530cd..adc1d89 100644
--- a/hw/pci-host/uninorth.c
+++ b/hw/pci-host/uninorth.c
@@ -234,7 +234,7 @@ PCIBus *pci_pmac_init(qemu_irq *pic,
memory_region_add_subregion(address_space_mem, 0x80000000ULL,
&d->pci_hole);
- h->bus = pci_register_bus(dev, "pci",
+ h->bus = pci_register_bus(dev, NULL,
pci_unin_set_irq, pci_unin_map_irq,
pic,
&d->pci_mmio,
@@ -300,7 +300,7 @@ PCIBus *pci_pmac_u3_init(qemu_irq *pic,
memory_region_add_subregion(address_space_mem, 0x80000000ULL,
&d->pci_hole);
- h->bus = pci_register_bus(dev, "pci",
+ h->bus = pci_register_bus(dev, NULL,
pci_unin_set_irq, pci_unin_map_irq,
pic,
&d->pci_mmio,
--
1.8.1.4
- [Qemu-devel] [PULL 14/32] Add stxvw4x, (continued)
- [Qemu-devel] [PULL 14/32] Add stxvw4x, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 24/32] Add xxmrgh/xxmrgl, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 10/32] Add lxsdx, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 09/32] Add xxpermdi, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 12/32] Add lxvw4x, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 13/32] Add stxsdx, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 15/32] target-ppc: move POWER7+ to a separate family, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 23/32] Add Power7 VSX Logical Instructions, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 19/32] spapr: tie spapr-nvram to -pflash, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 17/32] spapr-rtas: add ibm, (get|set)-system-parameter, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 18/32] PPC: Use default pci bus name for grackle and heathrow,
Alexander Graf <=
- [Qemu-devel] [PULL 31/32] spapr: make sure RMA is in first mode of first memory node, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 28/32] PPC: Add VSX to hflags, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 27/32] Add xxsldwi, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 22/32] Add VSX Vector Move Instructions, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 26/32] Add xxspltw, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 16/32] spapr-rtas: replace return code constants with macros, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 29/32] device_tree: s/qemu_devtree/qemu_fdt globally, Alexander Graf, 2013/12/19
- [Qemu-devel] [PULL 25/32] Add xxsel, Alexander Graf, 2013/12/19