]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: introduce phy_id_compare_model() PHY ID helper
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 11 Sep 2025 13:08:31 +0000 (15:08 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 14 Sep 2025 19:48:17 +0000 (12:48 -0700)
commitae1c658b33d4bec20c037aebba583a68375d4773
tree5ebb2bc50d337a35ded55f601bef540911a01970
parente0706474b186ed4a99a98c8650f1cdbbd27b7509
net: phy: introduce phy_id_compare_model() PHY ID helper

Similar to phy_id_compare_vendor(), introduce the equivalent
phy_id_compare_model() helper for the generic PHY ID Model mask.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://patch.msgid.link/20250911130840.23569-1-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/phy.h