summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Weitzel <j.weitzel@phytec.de>2014-09-15 14:56:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-17 08:53:25 +0200
commit7e094dd2e2e917c7bb0df0799d47cc2e34e6e714 (patch)
treea84bcddf6e09d890b8283350a31641359cc241e7
parent86aac457be9e3a2f45998b59c73ba54a74ad1f84 (diff)
downloadbarebox-7e094dd2e2e917c7bb0df0799d47cc2e34e6e714.tar.gz
barebox-7e094dd2e2e917c7bb0df0799d47cc2e34e6e714.tar.xz
phy/micrel: disable Asym_Pause support
With SUPPORTED_Asym_Pause enabled we need to hotplug the ethernet cable. So disable it like done with PHY_ID_KSZ9021. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/net/phy/micrel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 8aea6534b..88c64e59a 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -254,11 +254,11 @@ static struct phy_driver ksphy_driver[] = {
.config_aneg = genphy_config_aneg,
.read_status = genphy_read_status,
}, {
+ /* I saw the same issue like PHY_ID_KSZ9021 for Asym_Pause */
.phy_id = PHY_ID_KSZ9031,
.phy_id_mask = 0x00fffff0,
.drv.name = "Micrel KSZ9031 Gigabit PHY",
- .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause
- | SUPPORTED_Asym_Pause),
+ .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause),
.config_init = kszphy_config_init,
.config_aneg = genphy_config_aneg,
.read_status = genphy_read_status,