]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: dsa: microchip: enable phy errata workaround on 9567
authorGeorge McCollister <george.mccollister@gmail.com>
Mon, 24 May 2021 20:29:53 +0000 (15:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2021 21:27:18 +0000 (14:27 -0700)
Also enable phy errata workaround on 9567 since has the same errata as
the 9477 according to the manufacture's documentation.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz9477.c

index 55e5d479acce332046aa177ddbcc72f6e5920c09..854e25f43fa708157cf4785ca1c170763b96c0ee 100644 (file)
@@ -1530,6 +1530,7 @@ static const struct ksz_chip_data ksz9477_switch_chips[] = {
                .num_statics = 16,
                .cpu_ports = 0x7F,      /* can be configured as cpu port */
                .port_cnt = 7,          /* total physical port count */
+               .phy_errata_9477 = true,
        },
 };