]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: move mmd_phy_read and mmd_phy_write to phylib.h
authorDaniel Golle <daniel@makrotopia.org>
Mon, 5 Jan 2026 16:38:29 +0000 (16:38 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 8 Jan 2026 12:18:26 +0000 (13:18 +0100)
commit65de36f5eae1c540115bf8f705f853718e9b6451
treeadadab12d0270522eea4fb395d02ed89426dd34e
parent10fbd71fc5f9bef5018a35103d493307683ddca1
net: phy: move mmd_phy_read and mmd_phy_write to phylib.h

Helper functions mmd_phy_read and mmd_phy_write are useful for PHYs
which require custom MMD access functions for some but not all MMDs.
Move mmd_phy_read and mmd_phy_write function prototypes from
phylib-internal.h to phylib.h to make them available for PHY drivers.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/79169cd624a3572d426e42c7b13cd2654a35d0cb.1767630451.git.daniel@makrotopia.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/phylib-internal.h
drivers/net/phy/phylib.h