diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-03-11 11:59:22 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-05-01 13:46:22 +0200 |
commit | 0861aa8fedcaa89655ec3967a041bf2c6500b857 (patch) | |
tree | 6cba1ee178cba0f85d0e03260d123c7ba770e8ad /drivers/net/phy | |
parent | 63fc9d79e5c01f4e111325a3e73f9240dfba555b (diff) |
net: phy: micrel: Use defines for PHY_IDs and MASK
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/micrel_ksz90x1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/micrel_ksz90x1.c b/drivers/net/phy/micrel_ksz90x1.c index 0105fc5af1..f83650b8ef 100644 --- a/drivers/net/phy/micrel_ksz90x1.c +++ b/drivers/net/phy/micrel_ksz90x1.c @@ -383,8 +383,8 @@ static int ksz9031_config(struct phy_device *phydev) static struct phy_driver ksz9031_driver = { .name = "Micrel ksz9031", - .uid = 0x221620, - .mask = 0xfffff0, + .uid = PHY_ID_KSZ9031, + .mask = MII_KSZ9x31_SILICON_REV_MASK, .features = PHY_GBIT_FEATURES, .config = &ksz9031_config, .startup = &ksz90xx_startup, |