aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorYuiko Oshino <yuiko.oshino@microchip.com>2022-05-09 11:58:03 -0700
committerJakub Kicinski <kuba@kernel.org>2022-05-10 18:57:14 -0700
commit70a40ecfcb7d16262cf3ffe5eef4763315a68645 (patch)
tree96e9028d789480eb0727c45a35408fd5e85783d9 /drivers/net/phy
parentdt-bindings: net: orion-mdio: Convert to JSON schema (diff)
downloadlinux-dev-70a40ecfcb7d16262cf3ffe5eef4763315a68645.tar.xz
linux-dev-70a40ecfcb7d16262cf3ffe5eef4763315a68645.zip
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')
-rw-r--r--drivers/net/phy/microchip.c4
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",