]> asedeno.scripts.mit.edu Git - linux.git/commit
net: dsa: microchip: Add PHY errata workarounds
authorRobert Hancock <hancock@sedsystems.ca>
Wed, 12 Jun 2019 20:49:05 +0000 (14:49 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:11:53 +0000 (19:11 -0700)
commit1fc33199185ddb2296270a7ae8114c40ab28b17b
treeab6df3d8ca9db9b932b100c5b5a27b5b65c2d783
parent7c86f20d15b7c1132e0c24358ce240ba4cb002b7
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 <hancock@sedsystems.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz9477.c
drivers/net/dsa/microchip/ksz_priv.h