diff options
author | Yuiko Oshino <yuiko.oshino@microchip.com> | 2022-05-09 21:58:03 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-11 04:57:14 +0300 |
commit | 70a40ecfcb7d16262cf3ffe5eef4763315a68645 (patch) | |
tree | 96e9028d789480eb0727c45a35408fd5e85783d9 /drivers/net/phy/microchip.c | |
parent | 0781434af811f29a0808521533bedc4027685751 (diff) | |
download | linux-70a40ecfcb7d16262cf3ffe5eef4763315a68645.tar.xz |
net: phy: microchip: add comments for the modified LAN88xx phy ID mask.
add comments for the updated LAN88xx phy ID mask in the previous patch.
Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/microchip.c')
-rw-r--r-- | drivers/net/phy/microchip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/phy/microchip.c b/drivers/net/phy/microchip.c index 131caf659ed2..ccecee2524ce 100644 --- a/drivers/net/phy/microchip.c +++ b/drivers/net/phy/microchip.c @@ -345,6 +345,10 @@ static int lan88xx_config_aneg(struct phy_device *phydev) static struct phy_driver microchip_phy_driver[] = { { .phy_id = 0x0007c132, + /* This mask (0xfffffff2) is to differentiate from + * LAN8742 (phy_id 0x0007c130 and 0x0007c131) + * and allows future phy_id revisions. + */ .phy_id_mask = 0xfffffff2, .name = "Microchip LAN88xx", |