]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: dsa: Move KS8995 to the DSA subsystem
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Aug 2025 21:43:03 +0000 (23:43 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Aug 2025 00:26:09 +0000 (17:26 -0700)
commit60cbe71fdba16d39de24bd71e1638810da5ae7ee
treea947f2cf878ade34a31670717d89d4bf614eda36
parenta510980e740cc58be5733d4c15b22c7822e84c71
net: dsa: Move KS8995 to the DSA subsystem

By reading the datasheets for the KS8995 it is obvious that this
is a 100 Mbit DSA switch.

Let us start the refactoring by moving it to the DSA subsystem to
preserve development history.

Verified that the chip still probes the same after this patch
provided CONFIG_HAVE_NET_DSA, CONFIG_NET_DSA and CONFIG_DSA_KS8995
are selected.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250813-ks8995-to-dsa-v1-1-75c359ede3a5@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/Kconfig
drivers/net/dsa/Makefile
drivers/net/dsa/ks8995.c [moved from drivers/net/phy/spi_ks8995.c with 100% similarity]
drivers/net/phy/Kconfig
drivers/net/phy/Makefile