From: Yuiko Oshino Date: Mon, 9 May 2022 18:58:04 +0000 (-0700) Subject: net: phy: smsc: add comments for the LAN8742 phy ID mask. X-Git-Tag: baikal/mips/sdk6.1~5698^2~147^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=07150ee4ddbfd1b8795b032a42baa46763f77054;p=kernel.git 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 Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index 44fa9e00cc50a..92225d0fc2464 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",