summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-01-03 15:55:59 -0200
committerJoe Hershberger <joe.hershberger@ni.com>2014-01-14 14:00:41 -0600
commitf66e3ded61aeafc67f3ebb6ab0302b455f102ce3 (patch)
treeb86b1687453749ebb7f1e8e1983983c32385e81f
parentcddb6b8304bfbc34f43920051256de7fe6c4c0ab (diff)
downloadu-boot-imx-f66e3ded61aeafc67f3ebb6ab0302b455f102ce3.zip
u-boot-imx-f66e3ded61aeafc67f3ebb6ab0302b455f102ce3.tar.gz
u-boot-imx-f66e3ded61aeafc67f3ebb6ab0302b455f102ce3.tar.bz2
net: phy: atheros: Fix the masks for AR8031/8035
Use the same masks as used in the kernel: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/phy/at803x.c?id=refs/tags/v3.12.6 With such changes Ethernet is functional on hummingboard solo. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Marek Vasut <marex@denx.de> Patch: 306640
-rw-r--r--drivers/net/phy/atheros.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index b20b4df..32c2ab9 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -50,7 +50,7 @@ static struct phy_driver AR8021_driver = {
static struct phy_driver AR8031_driver = {
.name = "AR8031/AR8033",
.uid = 0x4dd074,
- .mask = 0x4fffff,
+ .mask = 0xffffffef,
.features = PHY_GBIT_FEATURES,
.config = ar8021_config,
.startup = genphy_startup,
@@ -60,7 +60,7 @@ static struct phy_driver AR8031_driver = {
static struct phy_driver AR8035_driver = {
.name = "AR8035",
.uid = 0x4dd072,
- .mask = 0x4fffff,
+ .mask = 0xffffffef,
.features = PHY_GBIT_FEATURES,
.config = ar8035_config,
.startup = genphy_startup,