Re: [PATCH v3 2/3] net: dsa: mv88e6xxx: add support for MV88E6020 switch

From: Andrew Lunn
Date: Mon Jan 02 2023 - 15:00:21 EST


On Mon, Jan 02, 2023 at 04:02:08PM +0100, Lukasz Majewski wrote:
> From: Matthias Schiffer <matthias.schiffer@xxxxxxxxxxxxxxx>
>
> A mv88e6250 family (i.e. LinkStreet) switch with 2 PHY and RMII ports
> and no PTP support.

> static const struct mv88e6xxx_info mv88e6xxx_table[] = {
> + [MV88E6020] = {
> + .prod_num = MV88E6XXX_PORT_SWITCH_ID_PROD_6020,
> + .family = MV88E6XXX_FAMILY_6250,
> + .name = "Marvell 88E6020",
> + .num_databases = 64,
> + .num_ports = 7,
> + .num_internal_phys = 5,

You say in the commit message there are two PHYs, yet you have 5 here?

Andrew