aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2025-05-17 22:13:47 +0200
committerJakub Kicinski <kuba@kernel.org>2025-05-21 15:56:09 -0700
commit1b76b2497aba90ce77a83b0af5943480fec5823f (patch)
tree8e46fe0fcd90613cbf237297cb4bc0b202d609d9 /include
parentnet: phy: bcm87xx: simplify .match_phy_device OP (diff)
downloadwireguard-linux-1b76b2497aba90ce77a83b0af5943480fec5823f.tar.xz
wireguard-linux-1b76b2497aba90ce77a83b0af5943480fec5823f.zip
net: phy: nxp-c45-tja11xx: simplify .match_phy_device OP
Simplify .match_phy_device OP by using a generic function and using the new phy_id PHY driver info instead of hardcoding the matching PHY ID with new variant for macsec and no_macsec PHYs. Also make use of PHY_ID_MATCH_MODEL macro and drop PHY_ID_MASK define to introduce phy_id and phy_id_mask again in phy_driver struct. Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Link: https://patch.msgid.link/20250517201353.5137-4-ansuelsmth@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions