From 1fc33199185ddb2296270a7ae8114c40ab28b17b Mon Sep 17 00:00:00 2001 From: Robert Hancock Date: Wed, 12 Jun 2019 14:49:05 -0600 Subject: net: dsa: microchip: Add PHY errata workarounds The Silicon Errata and Data Sheet Clarification documents for the KSZ9477 series of chips describe a number of otherwise undocumented PHY register settings which are required to work around various chip errata. Apply these settings when initializing the PHY ports on these chips. Signed-off-by: Robert Hancock Signed-off-by: David S. Miller --- drivers/net/dsa/microchip/ksz_priv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/net/dsa/microchip/ksz_priv.h') diff --git a/drivers/net/dsa/microchip/ksz_priv.h b/drivers/net/dsa/microchip/ksz_priv.h index b52e5ca17ab4..724301df91db 100644 --- a/drivers/net/dsa/microchip/ksz_priv.h +++ b/drivers/net/dsa/microchip/ksz_priv.h @@ -77,6 +77,7 @@ struct ksz_device { int last_port; /* ports after that not used */ phy_interface_t interface; u32 regs_size; + bool phy_errata_9477; struct vlan_table *vlan_cache; -- cgit v1.2.3-59-g8ed1b