[PATCH v8 10/30] PCI: Introduce pci_host_bridge_list to manage host bridges

Yinghai Lu yinghai at kernel.org
Thu Mar 26 09:31:58 PDT 2015


On Mon, Mar 23, 2015 at 8:34 PM, Yijing Wang <wangyijing at huawei.com> wrote:
> Introduce pci_host_bridge_list to manage pci host
> bridges in system, this make us have the ability
> to check whether the new host would conflict with
> existing one. Then we could remove bus alreay exist
> check in __pci_create_root_bus().

Can we use bus_type instead?
Then we can use bus_find_device for the host_bridge enumeration.

Please refer the patches that I sent out couple years ago.

Thanks

Yinghai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pci_host_bridge_bus_type_1.patch
Type: text/x-patch
Size: 2397 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150326/bc6099b0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: for_each_pci_host_bridge.patch
Type: text/x-patch
Size: 3445 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150326/bc6099b0/attachment-0001.bin>


More information about the linux-arm-kernel mailing list