diff options
| author | Christian Marangi <ansuelsmth@gmail.com> | 2025-08-23 15:44:28 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-26 17:09:27 -0700 |
| commit | 1abe21ef1adf0c5b6dbb5878c2fa4573df8d29fc (patch) | |
| tree | 7b23a6ff5c68540bd77cb0182e4a001001c215dc /tools/perf/scripts/python | |
| parent | 3c14917953a51a22f4fa7e13dfc13a4ec09bf348 (diff) | |
net: phy: introduce phy_id_compare_vendor() PHY ID helper
Introduce phy_id_compare_vendor() PHY ID helper to compare a PHY ID with
the PHY ID Vendor using the generic PHY ID Vendor mask.
While at it also rework the PHY_ID_MATCH macro and move the mask to
dedicated define so that PHY driver can make use of the mask if needed.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250823134431.4854-1-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
