qemu-e2k/hw/pci-bridge
Laszlo Ersek 48ea3dedc5 hw/pci-bridge: format special OFW unit address for PXB host
We have agreed that OpenFirmware device paths in the "bootorder" fw_cfg
file should follow the pattern

  /pci@i0cf8,%x/...

for devices that live behind an extra root bus. The extra root bus in
question is the %x'th among the extra root buses. (In other words, %x
gives the position of the affected extra root bus relative to the other
extra root buses, in bus_nr order.) %x starts at 1, and is formatted in
hex.

The portion of the unit address that comes before the comma is dynamically
taken from the main host bridge, similarly to sysbus_get_fw_dev_path().

Cc: Kevin O'Connor <kevin@koconnor.net>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-06-23 22:58:36 +02:00
..
dec.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
dec.h
i82801b11.c pci: Remove unused function ich9_d2pbr_init() 2015-04-30 16:05:48 +03:00
ioh3420.c ioh3420: Enable ARI forwarding 2014-08-25 00:16:06 +02:00
ioh3420.h ioh3420: remove unused ioh3420_init() declaration 2014-09-02 17:28:26 +03:00
Makefile.objs hw/pci: introduce PCI Expander Bridge (PXB) 2015-06-03 18:19:18 +02:00
pci_bridge_dev.c hw/pci-bridge: introduce "shpc" property 2015-06-23 22:57:48 +02:00
pci_expander_bridge.c hw/pci-bridge: format special OFW unit address for PXB host 2015-06-23 22:58:36 +02:00
xio3130_downstream.c pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_* 2014-08-25 00:16:06 +02:00
xio3130_downstream.h
xio3130_upstream.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
xio3130_upstream.h