]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: phy: Fix mask so that we can identify Marvell 88E1518
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>
Mon, 12 Dec 2016 12:54:13 +0000 (12:54 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 7 Feb 2017 16:54:33 +0000 (10:54 -0600)
The mask for the 88E1510 meant that the 88E1518 code would never be
used.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/marvell.c

index c3058a40b2241bde2abf4a11c42f0a365dab4593..ae870c592b679670933e869cb78fbb724d148715 100644 (file)
@@ -596,7 +596,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,
@@ -606,7 +606,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,