Alexey Kardashevskiy 5dac82ce0d 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>
2013-09-02 10:06:42 +02:00
..
2013-08-29 17:19:19 -05:00
2013-07-29 21:06:57 +02:00
2013-07-29 21:07:02 +02:00
2013-07-31 23:25:41 +02:00
2013-07-29 21:06:28 +02:00
2013-08-30 12:49:30 +02:00
2013-07-29 19:56:46 -05:00
2013-07-25 08:12:27 -05:00
2013-08-29 17:19:19 -05:00
2013-07-29 21:07:01 +02:00
2013-08-22 19:10:27 +02:00