diff options
| author | Alexey Kardashevskiy | 2013-08-21 08:02:15 +0200 |
|---|---|---|
| committer | Alexander Graf | 2013-09-02 10:06:42 +0200 |
| commit | 5dac82ce0d8716b54f73f96bf50811644a76e5c2 (patch) | |
| tree | 267766bd1132b4fa06ffa600279391f40226266d /scripts/switch-timer-api | |
| parent | target-ppc: fix bit extraction for FPBF and FPL (diff) | |
| download | qemu-5dac82ce0d8716b54f73f96bf50811644a76e5c2.tar.gz qemu-5dac82ce0d8716b54f73f96bf50811644a76e5c2.tar.xz qemu-5dac82ce0d8716b54f73f96bf50811644a76e5c2.zip | |
spapr-pci: fix config space access to support bridges
spapr-pci config space accessors use find_dev() to find a PCI device.
However find_dev() only searched on a primary bus and did not do
recursive search through secondary buses so config space access was not
possible for devices other that on a primary bus.
This fixed find_dev() by using the PCI API pci_find_device() function.
This effectively enabled pci bridges on spapr.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
