summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>2016-12-12 12:54:13 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2017-02-07 10:54:33 -0600
commit83cfbeb0df9f5962a16e8737e08cf59ed84e0cff (patch)
treed2cd19e7aea090e866ab4aba4456a2839525ac87 /drivers/net
parent8abdeadc5c48e79d0ff37cf2215654a7e6866704 (diff)
downloadu-boot-imx-83cfbeb0df9f5962a16e8737e08cf59ed84e0cff.zip
u-boot-imx-83cfbeb0df9f5962a16e8737e08cf59ed84e0cff.tar.gz
u-boot-imx-83cfbeb0df9f5962a16e8737e08cf59ed84e0cff.tar.bz2
net: phy: Fix mask so that we can identify Marvell 88E1518
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/marvell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index c3058a4..ae870c5 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -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,