]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: add Asym Pause workaround for KSZ9021
authorHans Andersson <hans.andersson@cellavision.se>
Thu, 26 Sep 2019 07:54:37 +0000 (09:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2019 18:27:26 +0000 (20:27 +0200)
commit6adcba4160b78990a30055fc86f7e4742a13235d
treefdae4189240b8df288ec16d52c21d7dcc36d35c2
parent635ebb4db97925ff7b8863e727594bc46e917e16
net: phy: micrel: add Asym Pause workaround for KSZ9021

The Micrel KSZ9031 PHY may fail to establish a link when the Asymmetric
Pause capability is set. This issue is described in a Silicon Errata
(DS80000691D or DS80000692D), which advises to always disable the
capability.

Micrel KSZ9021 has no errata, but has the same issue with Asymmetric Pause.
This patch apply the same workaround as the one for KSZ9031.

Fixes: 1a9757c46d77 ("net: phy: micrel: add Asym Pause workaround")
Signed-off-by: Hans Andersson <hans.andersson@cellavision.se>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c