]> git.hungrycats.org Git - linux/commit
net: dsa: mxl862xx: move phylink stubs to mxl862xx-phylink.c
authorDaniel Golle <daniel@makrotopia.org>
Sat, 13 Jun 2026 03:07:16 +0000 (04:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Jun 2026 00:18:00 +0000 (17:18 -0700)
commitc1034332003fc3f9dc99f0c45f7c0e31c695adb8
tree0c2003031e320a85a3d3a4846031be4356561d79
parent937137db7914ed332ce455cdac94a218e6ae2693
net: dsa: mxl862xx: move phylink stubs to mxl862xx-phylink.c

Move the phylink MAC operations and get_caps callback from mxl862xx.c
into a dedicated mxl862xx-phylink.c file. This prepares for the SerDes
PCS implementation which adds substantial phylink/PCS code -- keeping
it in a separate file avoids function-position churn in the main
driver file.

No functional change.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/fb9336de94bef47a0834287cbca87954e5e4c795.1781319534.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mxl862xx/Makefile
drivers/net/dsa/mxl862xx/mxl862xx-phylink.c [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx-phylink.h [new file with mode: 0644]
drivers/net/dsa/mxl862xx/mxl862xx.c