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
dec.h
i82801b11.c
ioh3420.c
ioh3420.h
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
xio3130_downstream.h
xio3130_upstream.c
xio3130_upstream.h