summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlastimil Kosar <ikosar@fit.vutbr.cz>2013-02-28 09:45:22 +0100
committerDavid S. Miller <davem@davemloft.net>2013-02-28 21:37:30 +0100
commit32fcafbcd1c9f6c7013016a22a5369b4acb93577 (patch)
tree552eb972f768b19f485d2ee8599cacd9230524ae
parentbgmac: omit the fcs (diff)
downloadlinux-32fcafbcd1c9f6c7013016a22a5369b4acb93577.tar.xz
linux-32fcafbcd1c9f6c7013016a22a5369b4acb93577.zip
net/phy: micrel: Disable asymmetric pause for KSZ9021
Phyter KSZ9021 has hardware bug. If asymmetric pause is enabled, then it is necessary to disconnect and then reconnect the ethernet cable to get the phyter working. The solution is to disable the asymmetric pause. Signed-off-by: Vlastimil Kosar <ikosar@fit.vutbr.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/micrel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 29934446436a..abf7b6153d00 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -257,8 +257,7 @@ static struct phy_driver ksphy_driver[] = {
.phy_id = PHY_ID_KSZ9021,
.phy_id_mask = 0x000ffffe,
.name = "Micrel KSZ9021 Gigabit PHY",
- .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause
- | SUPPORTED_Asym_Pause),
+ .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause),
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
.config_init = kszphy_config_init,
.config_aneg = genphy_config_aneg,