]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: micrel: Start using PHY_ID_MATCH_MODEL
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 18 Aug 2025 07:51:18 +0000 (09:51 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 21 Aug 2025 08:42:30 +0000 (10:42 +0200)
commit54e974c71524c1bc2c5f158d9178b9c3e999e1be
tree9447aeca5d80f9ea8278f920fc4a4b29c81fb69f
parent38dad812bb500648dc14a0733b293d5b778750e6
net: phy: micrel: Start using PHY_ID_MATCH_MODEL

Start using PHY_ID_MATCH_MODEL for all the drivers.
While at this add also PHY_ID_KSZ8041RNLI to micrel_tbl.

It is safe to change the current of 0x00fffff0 to PHY_ID_MATCH_MODEL
because all the micrel PHYs have in MSB a value of 0.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250818075121.1298170-2-horatiu.vultur@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/micrel.c