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

From: Lukas Wunner
Date: Wed Jan 10 2024 - 11:41:39 EST


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?