Skip to content

Commit

Permalink
net: phy: microchip: add comments for the modified LAN88xx phy ID mask.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yuiko Oshino authored and Jakub Kicinski committed May 11, 2022
1 parent 0781434 commit 70a40ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/net/phy/microchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down

0 comments on commit 70a40ec

Please sign in to comment.