Subject: Re: [RFC 3/9] PCI/portdrv: create platform devices for child OF nodes

From: Lukas Wunner <[email-masked]>
Date: Wed, 10 Jan 2024 17:41:05 +0100

On Wed, Jan 10, 2024 at 05:26:52PM +0100, Bartosz Golaszewski wrote:
> Seems like the following must be true but isn't in my case (from
> pci_bus_add_device()):
> 
>     if (pci_is_bridge(dev))
>         of_pci_make_dev_node(dev);
> 
> Shouldn't it evaluate to true for ports?

It should.

What does "lspci -vvvvxxxx -s BB:DD.F" say for the port in question?