diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2019-04-16 12:10:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-16 21:36:40 -0700 |
commit | 3aed3e2a143c9619f4c8d0a3b8fe74d7d3d79c93 (patch) | |
tree | 1975307d7f0fff4e866c590c9c64c9eb6531f9b6 /drivers/net/ifb.c | |
parent | 9c03e2270813173b3690938dfe074a921c11855b (diff) |
net: phy: micrel: add Asym Pause workaround
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. This patch implements the workaround by defining a KSZ9031
specific get_feature callback to force the Asymmetric Pause capability
bit to be cleared.
This fixes issues where the link would not come up at boot time, or when
the Asym Pause bit was set later on.
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ifb.c')
0 files changed, 0 insertions, 0 deletions