David Gibson 85c6e4fabb pci: Add root bus argument to pci_get_bus_devfn()
pci_get_bus_devfn() interprets a full PCI address string to give a PCIBus *
and device/function number within that bus.  Currently it assumes it is
working on an address under the primary PCI root bus.  This patch extends
it to allow the caller to specify a root bus.  This might seem a little odd
since the supplied address can (theoretically) include a PCI domain number.
However, attempting to use a non-zero domain number there is currently an
error, so that shouldn't really cause problems.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-07-07 23:10:57 +03:00
..
2013-06-07 14:55:33 +02:00
2013-04-29 08:27:47 -05:00
2013-05-01 13:06:07 +02:00
2013-07-04 10:42:51 +03:00
2013-06-07 14:55:33 +02:00
2013-06-03 15:41:27 +00:00
2013-05-01 13:06:07 +02:00
2013-06-27 15:38:35 -05:00
2013-06-02 18:14:02 +03:00
2013-06-07 14:55:33 +02:00
2013-05-01 20:55:21 +04:00
2013-06-24 08:41:07 +02:00