aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorYuiko Oshino <yuiko.oshino@microchip.com>2022-05-09 11:58:04 -0700
committerJakub Kicinski <kuba@kernel.org>2022-05-10 18:57:14 -0700
commitb2be075139fa4dad1649edef30963de6315ba237 (patch)
treea9990bb335e5092fc67826558fcae4d3647e83bf /drivers/net/phy
parentnet: phy: microchip: add comments for the modified LAN88xx phy ID mask. (diff)
downloadlinux-dev-b2be075139fa4dad1649edef30963de6315ba237.tar.xz
linux-dev-b2be075139fa4dad1649edef30963de6315ba237.zip
net: phy: smsc: add comments for the LAN8742 phy ID mask.
add comments for the LAN8742 phy ID mask in the previous patch. add one missing tab in the LAN8742 phy ID line. 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/smsc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index 44fa9e00cc50..92225d0fc246 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -484,7 +484,11 @@ static struct phy_driver smsc_phy_driver[] = {
.suspend = genphy_suspend,
.resume = genphy_resume,
}, {
- .phy_id = 0x0007c130, /* 0x0007c130 and 0x0007c131 */
+ .phy_id = 0x0007c130, /* 0x0007c130 and 0x0007c131 */
+ /* This mask (0xfffffff2) is to differentiate from
+ * LAN88xx (phy_id 0x0007c132)
+ * and allows future phy_id revisions.
+ */
.phy_id_mask = 0xfffffff2,
.name = "Microchip LAN8742",