]> Gentwo Git Trees - linux/.git/commit
net: phy: add phy_interface_copy()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 16 Sep 2025 21:46:36 +0000 (22:46 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 22 Sep 2025 23:05:14 +0000 (16:05 -0700)
commita571f08d3db215dd6ec294d8faac8cc4184bc4e4
treeaae5605bacf3e6e939e580247312f2f2ec7244a9
parent9b277fca90c39c8b749e659bf5c23e924c46c93b
net: phy: add phy_interface_copy()

Add a helper for copying PHY interface bitmasks. This will be used by
the SFP bus code, which will then be moved to phylink in the subsequent
patches.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1uydVU-000000061W8-2IDT@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/phy.h