summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorChunhe Lan <Chunhe.Lan@freescale.com>2013-11-01 17:17:44 +0800
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 17:03:18 -0600
commit317745785341774644b8bb1cbb0300155f31cee6 (patch)
treeb415054100f2e18bef67b9800eee6a2fb82ba563 /drivers/net/phy
parentb1690bc39cfdba82be34b1a98abc319339070698 (diff)
downloadblackbird-obmc-uboot-317745785341774644b8bb1cbb0300155f31cee6.tar.gz
blackbird-obmc-uboot-317745785341774644b8bb1cbb0300155f31cee6.zip
net/phy: Fix the phy id mask of AR8031
The both AR8031 and AR8035 belong to Atheros 803x serial PHY. So the phy id mask of AR8031 is the same to the phy id mask of AR8035. The right mask value is 0x4fffff. This patch has been tested on the P1010 and P1023. Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Patch: 287748
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/atheros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index f225d93a36..215658ab28 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 = 0xffffff,
+ .mask = 0x4fffff,
.features = PHY_GBIT_FEATURES,
.config = ar8021_config,
.startup = genphy_startup,
OpenPOWER on IntegriCloud