Commit 317745785341774644b8bb1cbb0300155f31cee6

Authored by Chunhe Lan
Committed by Joe Hershberger
1 parent b1690bc39c

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

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/net/phy/atheros.c
... ... @@ -50,7 +50,7 @@
50 50 static struct phy_driver AR8031_driver = {
51 51 .name = "AR8031/AR8033",
52 52 .uid = 0x4dd074,
53   - .mask = 0xffffff,
  53 + .mask = 0x4fffff,
54 54 .features = PHY_GBIT_FEATURES,
55 55 .config = ar8021_config,
56 56 .startup = genphy_startup,