Message ID | 20220509185804.7147-2-yuiko.oshino@microchip.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 70a40ecfcb7d16262cf3ffe5eef4763315a68645 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: phy: add comments for LAN8742 phy support | expand |
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",
add comments for the updated LAN88xx phy ID mask in the previous patch. Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com> --- drivers/net/phy/microchip.c | 4 ++++ 1 file changed, 4 insertions(+)