The mask for the 88E1510 meant that the 88E1518 code would never be
used.

Signed-off-by: Phil Edworthy <phil.edwor...@renesas.com>
Reviewed-by: Stefan Roese <s...@denx.de>
---
Note: This has only been tested on a board that uses a Marvell 88E1512
PHY, see subsequent patches.

v2:
 No changes
---
 drivers/net/phy/marvell.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index ac13a67..95d1492 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -578,7 +578,7 @@ static struct phy_driver M88E1149S_driver = {
 static struct phy_driver M88E1510_driver = {
        .name = "Marvell 88E1510",
        .uid = 0x1410dd0,
-       .mask = 0xffffff0,
+       .mask = 0xfffffff,
        .features = PHY_GBIT_FEATURES,
        .config = &m88e1510_config,
        .startup = &m88e1011s_startup,
@@ -588,7 +588,7 @@ static struct phy_driver M88E1510_driver = {
 static struct phy_driver M88E1518_driver = {
        .name = "Marvell 88E1518",
        .uid = 0x1410dd1,
-       .mask = 0xffffff0,
+       .mask = 0xfffffff,
        .features = PHY_GBIT_FEATURES,
        .config = &m88e1518_config,
        .startup = &m88e1011s_startup,
-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to