Re: [PATCH v2 23/26] misc: lan966x_pci: Introduce board specific data
From: Herve Codina
Date: Mon May 19 2025 - 10:45:07 EST
Hi Andrew,
On Thu, 8 May 2025 00:24:03 +0200
Andrew Lunn <andrew@xxxxxxx> wrote:
> On Wed, May 07, 2025 at 09:13:05AM +0200, Herve Codina wrote:
> > Only one device-tree overlay (lan966x_evb_lan9662_nic.dtbo) is handled
> > and this overlay is directly referenced in lan966x_pci_load_overlay().
> >
> > This avoid to use the code for an other board.
> >
> > In order to be more generic and to allow support for other boards (PCI
> > Vendor/Device IDs), introduce the lan966x_pci_info structure and attach
> > it to PCI Vendor/Device IDs handled by the driver.
> >
> > This structure contains information related to the PCI board such as
> > information related to the dtbo describing the board we have to load.
> >
> > Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>
>
> How big is the dtbo ?
With current series applied, the dtbo is 6029 Bytes.
Best regards,
Hervé