Skip to content
Snippets Groups Projects
Commit f66e3ded authored by Fabio Estevam's avatar Fabio Estevam Committed by Joe Hershberger
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Patch: 306640
parent cddb6b83
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ static struct phy_driver AR8021_driver = { ...@@ -50,7 +50,7 @@ static struct phy_driver AR8021_driver = {
static struct phy_driver AR8031_driver = { static struct phy_driver AR8031_driver = {
.name = "AR8031/AR8033", .name = "AR8031/AR8033",
.uid = 0x4dd074, .uid = 0x4dd074,
.mask = 0x4fffff, .mask = 0xffffffef,
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES,
.config = ar8021_config, .config = ar8021_config,
.startup = genphy_startup, .startup = genphy_startup,
...@@ -60,7 +60,7 @@ static struct phy_driver AR8031_driver = { ...@@ -60,7 +60,7 @@ static struct phy_driver AR8031_driver = {
static struct phy_driver AR8035_driver = { static struct phy_driver AR8035_driver = {
.name = "AR8035", .name = "AR8035",
.uid = 0x4dd072, .uid = 0x4dd072,
.mask = 0x4fffff, .mask = 0xffffffef,
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES,
.config = ar8035_config, .config = ar8035_config,
.startup = genphy_startup, .startup = genphy_startup,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment