Re: [PATCH v4 13/30] PCI: Introduce new scan function pci_scan_root_bridge()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
- Subject: Re: [PATCH v4 13/30] PCI: Introduce new scan function pci_scan_root_bridge()
- From: Yijing Wang <wangyijing@xxxxxxxxxx>
- Date: Tue, 3 Mar 2015 16:12:07 +0800
- Cc: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>, <linux-pci@xxxxxxxxxxxxxxx>, Yinghai Lu <yinghai@xxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, Marc Zyngier <marc.zyngier@xxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxxx>, <x86@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, "Guan Xuetao" <gxt@xxxxxxxxxxxxxxx>, <linux-alpha@xxxxxxxxxxxxxxx>, <linux-m68k@xxxxxxxxxxxxxxx>, Liviu Dudau <liviu@xxxxxxxxxxx>, "Arnd Bergmann" <arnd@xxxxxxxx>, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
- In-reply-to: <20150303025222.GG11978@google.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1424938344-4017-1-git-send-email-wangyijing@huawei.com> <1424938344-4017-14-git-send-email-wangyijing@huawei.com> <20150303025222.GG11978@google.com>
- User-agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
On 2015/3/3 10:52, Bjorn Helgaas wrote:
> On Thu, Feb 26, 2015 at 04:12:07PM +0800, Yijing Wang wrote:
>> Introduce new scan function pci_scan_root_bridge() to
>> support host bridge drivers that need to provide platform
>> own pci_host_bridge_ops.
>>
>> Signed-off-by: Yijing Wang <wangyijing@xxxxxxxxxx>
>> ---
>> drivers/pci/probe.c | 21 +++++++++++++++++++++
>> include/linux/pci.h | 3 +++
>> 2 files changed, 24 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
>> index 8cec6ab..b5f9ca4 100644
>> --- a/drivers/pci/probe.c
>> +++ b/drivers/pci/probe.c
>> @@ -2063,6 +2063,27 @@ static struct pci_bus *__pci_scan_root_bus(
>> return b;
>> }
>>
>> +struct pci_host_bridge *pci_scan_root_bridge(struct device *parent,
>> + u32 db, struct pci_ops *ops, void *sysdata,
>> + struct list_head *resources, struct pci_host_bridge_ops *phb_ops)
>
> I prefer "host bridge" over "root bridge" because that's the terminology
> used by the PCI specs.
OK, I will use "host bridge" instead of "root bridge".
>
> .
>
--
Thanks!
Yijing
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]