]> 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)
commit6741841539d4e1b8319f355d5d04c2a01594fc6d
treefdae4189240b8df288ec16d52c21d7dcc36d35c2
parent7799f17f6eef1e61093d50be327ccd1021f78120
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: 6baf9c827866 ("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