On Wed, 2012-06-27 at 12:15 -0600, Bjorn Helgaas wrote:
>
> This patch appears to have multiple unrelated changes:
>
> - change "struct pci_bus *bus" to "struct pci_bus *root_bus"
> - change find_pci_host_bridge() argument from dev to bus
> - fiddle with pcibios_bus_to_resource() and
> pcib
>> For allocating resource under bus path, we do have dev pass along,
>> and we could just use bus instead. Also, we'd like to make function
>> find_pci_host_bridge() global so that some platforms (e.g. PPC) can
>> access the pci host bridge directly.
>
>This patch appears to have multiple unrelate
On Wed, Jun 27, 2012 at 8:48 AM, Gavin Shan wrote:
> For allocating resource under bus path, we do have dev pass along,
> and we could just use bus instead. Also, we'd like to make function
> find_pci_host_bridge() global so that some platforms (e.g. PPC) can
> access the pci host bridge directly.
For allocating resource under bus path, we do have dev pass along,
and we could just use bus instead. Also, we'd like to make function
find_pci_host_bridge() global so that some platforms (e.g. PPC) can
access the pci host bridge directly.
Signed-off-by: Yinghai Lu
---
drivers/pci/host-bridge.c